mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-21 09:08:00 +02:00
changed the start and stop receiver error messages to be displayed to the client and not jsus recever
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@640 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -144,9 +144,10 @@ public:
|
||||
|
||||
/**
|
||||
* Starts Receiver - starts to listen for packets
|
||||
* @param message is the error message if there is an error
|
||||
* Returns success
|
||||
*/
|
||||
int startReceiver();
|
||||
int startReceiver(char message[]);
|
||||
|
||||
/**
|
||||
* Stops Receiver - stops listening for packets
|
||||
@ -263,6 +264,15 @@ private:
|
||||
/** thread writing packets */
|
||||
pthread_t writing_thread;
|
||||
|
||||
/** mutex for locking variable used by different threads */
|
||||
pthread_mutex_t status_mutex;
|
||||
|
||||
/** listening thread running */
|
||||
int listening_thread_running;
|
||||
|
||||
/** writing thread running */
|
||||
int writing_thread_running;
|
||||
|
||||
/** status of receiver */
|
||||
runStatus status;
|
||||
|
||||
@ -383,8 +393,8 @@ public:
|
||||
/** File Descriptor */
|
||||
static FILE *sfilefd;
|
||||
|
||||
/** if the listening thread is running*/
|
||||
static int listening_thread_running;
|
||||
/** if the receiver threads are running*/
|
||||
static int receiver_threads_running;
|
||||
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user