nanosleep, pthreads, FreeBSD 7.2

Mark Terribile materribile at yahoo.com
Sat Mar 5 21:40:44 UTC 2011


Hi,

As I underestand things, nanosleep() is supposed to affect only the thread to which it is applied.  I have a test program in which it appears to block both that thread and the thread which created it.  Is this a known problem?  Am I misreading things?  I'm on 7.2; does this change in later versions?

    Mark Terribile
    materribile at yahoo.com


      


More information about the freebsd-questions mailing list