Re: [ntp:questions] new driver development

2011-04-10 Thread Bruce Lilly
On Sat, 09 Apr 2011 11:55:02 -0500, Hal Murray wrote: Is there any way to test to see if a mutex has been initialized? One way is to call pthread_mutex_init and check for an EBUSY error return. See the pthread_mutex_init man page for details. One could also keep track of initialization status

Re: [ntp:questions] new driver development

2011-04-10 Thread Richard B. Gilbert
On 4/9/2011 7:51 PM, Hal Murray wrote: In article4da0c50f.3050...@comcast.net, Richard B. Gilbertrgilber...@comcast.net writes: On 4/9/2011 12:55 PM, Hal Murray wrote: Is there any way to test to see if a mutex has been initialized? You initialize your mutex BEFORE it is needed.