check for CLOCK_MONOTONIC

Björn JACKE samba at j3e.de
Thu Jun 8 08:33:21 GMT 2006


On 2006-06-08 at 11:13 +1000 James Peach sent off:
>This is actually correct. If linking librt caused libpthread to also be
>linked, then we run into a problem with the use of signals with kernel
>oplocks on Linux (see the thread titled "Failed to setup
>RT_SIGNAL_NOTIFY handler").

hm, if this is really intended, okay. Yes here librt is linked against 
libpthread. But it would indeed be very ugly if on all glibc based 
systems, where librt is linked against libpthread profiling couldnÄt 
be used :-|. Volker's idea later in thread sounds good to me btw.

Bjoern


More information about the samba-technical mailing list