listing all modules compiled into a kernel instance

2011-02-28 Thread Carl
Kernel drivers can be (and in at least one case are) compiled into the kernel but are not reported when queried for, at least not in a way that I am aware of. For example, the ucom driver is present in the GENERIC kernel in this way. My expectation was that "kldstat -v" would list it, if presen

Re: Is pthread_cond_signal(3) man page correct?

2011-02-28 Thread Pieter de Goeje
On Monday 28 February 2011 16:08:32 Yuri wrote: > On 28.02.11 2:41, Pieter de Goeje wrote: > > pthread_cond_signal() can indeed wake up more than one thread. That's why > > you should always wrap pthread_cond_wait() in a loop. For example a > > blocking > > > queue could be implemented like this (

Re: Is pthread_cond_signal(3) man page correct?

2011-02-28 Thread Yuri
On 28.02.11 2:41, Pieter de Goeje wrote: pthread_cond_signal() can indeed wake up more than one thread. That's why you should always wrap pthread_cond_wait() in a loop. For example a blocking queue could be implemented like this (pseudo code): Thank you. Now its clear that POSIX allows multiple