mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 14:33:45 +02:00
uncommented ifdef verbose
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@423 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
parent
42fe126f33
commit
9f1825b193
@ -24,7 +24,7 @@ static void* startProcessDataNoDelete(void *n){\
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
postProcessing::postProcessing(): expTime(NULL), ang(NULL), val(NULL), err(NULL), numberOfChannels(0){
|
postProcessing::postProcessing(): expTime(NULL), ang(NULL), val(NULL), err(NULL), numberOfChannels(0){
|
||||||
pthread_mutex_t mp1 = PTHREAD_MUTEX_INITIALIZER;
|
pthread_mutex_t mp1 = PTHREAD_MUTEX_INITIALIZER;
|
||||||
mp=mp1;
|
mp=mp1;
|
||||||
pthread_mutex_init(&mp, NULL);
|
pthread_mutex_init(&mp, NULL);
|
||||||
@ -43,7 +43,9 @@ postProcessing::postProcessing(): expTime(NULL), ang(NULL), val(NULL), err(NULL)
|
|||||||
#ifdef EXTPP
|
#ifdef EXTPP
|
||||||
registerRawDataCallback(&defaultRawDataReadyFunc, NULL);
|
registerRawDataCallback(&defaultRawDataReadyFunc, NULL);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ppFun=new postProcessingFuncs();
|
ppFun=new postProcessingFuncs();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -354,14 +356,14 @@ void* postProcessing::processData(int delflag) {
|
|||||||
/* IF THERE ARE DATA PROCESS THEM*/
|
/* IF THERE ARE DATA PROCESS THEM*/
|
||||||
while((queuesize=dataQueueSize())>0) {
|
while((queuesize=dataQueueSize())>0) {
|
||||||
/** Pop data queue */
|
/** Pop data queue */
|
||||||
//#ifdef VERBOSE
|
#ifdef VERBOSE
|
||||||
cout << "data found"<< endl;
|
cout << "data found"<< endl<<endl;;
|
||||||
//#endif
|
#endif
|
||||||
|
|
||||||
myData=dataQueueFront(); // get the data from the queue
|
myData=dataQueueFront(); // get the data from the queue
|
||||||
//#ifdef VERBOSE
|
#ifdef VERBOSE
|
||||||
cout << "got them"<< endl;
|
cout << "got them"<< endl;
|
||||||
//#endif
|
#endif
|
||||||
|
|
||||||
if (myData) {
|
if (myData) {
|
||||||
processFrame(myData,delflag);
|
processFrame(myData,delflag);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user