Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  29 Jul 2003, Konstantin Olchanski, , Have to link with -lpthread? 
    Reply  30 Jul 2003, David Morris, , Have to link with -lpthread? 
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.
ELOG V3.1.4-2e1708b5