mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 11:50:03 +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;
|
||||
mp=mp1;
|
||||
pthread_mutex_init(&mp, NULL);
|
||||
@ -43,7 +43,9 @@ postProcessing::postProcessing(): expTime(NULL), ang(NULL), val(NULL), err(NULL)
|
||||
#ifdef EXTPP
|
||||
registerRawDataCallback(&defaultRawDataReadyFunc, NULL);
|
||||
#endif
|
||||
|
||||
ppFun=new postProcessingFuncs();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -354,14 +356,14 @@ void* postProcessing::processData(int delflag) {
|
||||
/* IF THERE ARE DATA PROCESS THEM*/
|
||||
while((queuesize=dataQueueSize())>0) {
|
||||
/** Pop data queue */
|
||||
//#ifdef VERBOSE
|
||||
cout << "data found"<< endl;
|
||||
//#endif
|
||||
#ifdef VERBOSE
|
||||
cout << "data found"<< endl<<endl;;
|
||||
#endif
|
||||
|
||||
myData=dataQueueFront(); // get the data from the queue
|
||||
//#ifdef VERBOSE
|
||||
#ifdef VERBOSE
|
||||
cout << "got them"<< endl;
|
||||
//#endif
|
||||
#endif
|
||||
|
||||
if (myData) {
|
||||
processFrame(myData,delflag);
|
||||
|
Loading…
x
Reference in New Issue
Block a user