[bind10-dev] Re: [svn] commit: r1663 - in /branches/trac58/src/lib: cc/session.cc python/isc/cc/session.py
zhanglikun
zlkzhy at gmail.com
Thu Apr 1 04:06:56 UTC 2010
Hi Jelte,
> Log:
> b10-cmdctl sometimes tries to read a command from the command channel
> twice at the same time (one when excpecting an answer to a command, and
> one listening for commands in general)
I find one way to fix this problem: create separate cc session for different
thread.
1. Create one cc session for listening for commands sent from cfgmgr.
2. When cmdctl gets one command from bindctl, create a new cc session, and
by using this new session, send the command to other modules, then wait for
response. When get response, close the cc session. I think by this way, we
can get the correct response for each command.
Zhanglikun
More information about the bind10-dev
mailing list