Date: Thu, 30 Nov 2000 13:04:52 -0500 From: "Daniel M. Eischen" <eischen@vigrid.com> To: mitko@rila.bg Cc: hackers@FreeBSD.ORG Subject: Re: pthreads, semaphores and wait Message-ID: <3A2696C4.2471B6D4@vigrid.com> References: <200011301654.eAUGsQ517235@earth.rila.bg>
next in thread | previous in thread | raw e-mail | index | archive | help
"Dimitar V. Peikov" wrote: > > I've tryed to make some example on using pthreads and semaphores and found > that process became blocked if inside of critical section use wait, uwait or > nanowait finctions. In the attached file if change line : (#if 0) to (#if 1) > the program hangs. I've tested it even with gdb and the threads were blocked > after wait finction. Semaphores aren't wrapped by the threads library (yes, they can block the whole process). This will be resolved in our future libpthread (for info on that, search -arch and -smp in reference to the KSE project). -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A2696C4.2471B6D4>