[bind10-dev] Question about config channel and another msgq channel

zhanglikun 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?

Zhang Likun

-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_command.diff
Type: application/octet-stream
Size: 767 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20100622/1bfaef4d/attachment.obj>

More information about the bind10-dev mailing list