[bind10-dev] Question about config channel and another msgq channel
zlkzhy at gmail.com
Tue Jun 22 06:44:29 UTC 2010
> I agree. Adding nonblock parameter for check_command() method is
> desirable, I think.
A quick patch for it in attachment.
Another related question:
I try to let two threads share the same session, one thread recv in block
mode, anther thread send message over the session, but the sending thread
will be blocked since recv thread is holding the rlock of session.
So my suggestion is:
Create two locks for one session, one lock is used for read operation,
anther lock is used for write operation. Right?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 767 bytes
Desc: not available
More information about the bind10-dev