| 
 | 
| 
Back
Midas
Rome
Roody
Rootana
 | 
|   Midas DAQ System  | 
Not logged in | 
  | 
   | 
| 
 | 
| 
Message ID: 140
    Entry time: 30 Jul 2003
    In reply to: 139
 |  
| Author: | 
David Morris  | 
 | Topic: | 
  | 
 | Subject: | 
Have to link with -lpthread?  | 
 
  |  
 
 | 
The change is required to support implementation of pthreads in the Linux
compile of Midas. This was added recently. I believe pthreads is also needed
for ROOT based compiles.
David
> It appears that all midas applications are now required to link with the
> pthreads library even if they do not use threads. This is caused by a
> pthread_create() call from ss_thread_create() in system.c.
> 
> Is this the intended behaviour?
> 
> K.O.  |