something

This commit is contained in:
Dhanya Maliakal
2016-03-10 17:25:47 +01:00
parent c36db579b1
commit d3a7d3bad3
18 changed files with 863 additions and 18 deletions

View File

@ -16,6 +16,7 @@ ID: $Id$
#include "slsDetectorUtils.h"
class slsDetector;
class ThreadPool;
//#include "sls_detector_defs.h"
@ -240,6 +241,14 @@ class multiSlsDetector : public slsDetectorUtils {
/** destructor */
virtual ~multiSlsDetector();
/**
* Creates all the threads in the threadpool
\returns OK or FAIL
*/
int createThreadPool();
/** destroys all the threads in the threadpool */
void destroyThreadPool();
/** frees the shared memory occpied by the sharedMultiSlsDetector structure */
int freeSharedMemory() ;
@ -1362,6 +1371,8 @@ class multiSlsDetector : public slsDetectorUtils {
/** Shared memory structure */
sharedMultiSlsDetector *thisMultiDetector;
private:
ThreadPool* threadpool;