On Sun, 2003-07-13 at 10:49, Gilad Ben-Yossef wrote:

> Can you please post the link command used to generate the binary? did 
> you remember to lni libpthread? because if you didn't you're using the 
> standart fork/exec instead of the thread aware ones from libpthread and 
> this explains what you're seeing.

Gilad, thanks! I was using -lrt instead of -lpthread. -lrt includes the
timer_* routines, and it also links to libpthread, but apparently
overrides the functions with some other non-working versions. -lpthread
works fine.


-- 
Alex Shnitman <[EMAIL PROTECTED]>
http://www.hectic.net/   UIN 188956
PGP 0xEC5D619D / E1 F2 7B 6C A0 31 80 28  63 B8 02 BA 65 C7 8B BA

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to