create threads and destroy threads should work now

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@741 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2014-02-20 14:16:06 +00:00
parent 506ca8d6b0
commit 792e0f3845
2 changed files with 119 additions and 62 deletions

View File

@ -236,10 +236,21 @@ private:
int createUDPSocket();
/**
* create listening thread and many writer threads at class construction
* create listening thread
* @param destroy is true to kill all threads and start again
*/
int createThreads(bool destroy = false);
int createListeningThreads(bool destroy = false);
/**
* create writer threads
* @param destroy is true to kill all threads and start again
*/
int createWriterThreads(bool destroy = false);
/**
* set thread priorities
*/
void setThreadPriorities();
/**
* initializes variables and creates the first file