Hi, Can you please tell me why quiesce block is need for io-pkt thread. is there any document for quiesce block? please help me on this.. Thanks and Regards K.Senthil
On Mon, Jan 04, 2010 at 11:43:57AM -0500, Senthil K wrote: > Hi, > > Can you please tell me why quiesce block is need for io-pkt thread. To quiesce your thread as required. > is there any document for quiesce block? Not currently. What would you like to know? Regards, -seanb
Hi Sean, I want to know how this is blocking the thread and how its wakening. Thanks and Regards K.Senthil
> Hi Sean, > > I want to know how this is blocking the thread and how its wakening. > > Thanks and Regards > K.Senthil Looks like it is based on mutexes and condvars. from here: http://www.qnx.com/developers/docs/6.4.1/neutrino/sys_arch/kernel.html --- ... ... Here's a typical example of how a condvar can be used: pthread_mutex_lock( &m ); . . . while (!arbitrary_condition) { pthread_cond_wait( &cv, &m ); } . . . pthread_mutex_unlock( &m ); ... ... --- HTH, Jeevan