diff options
author | Sam Truzjan <pxqr.sta@gmail.com> | 2013-12-22 05:08:51 +0400 |
---|---|---|
committer | Sam Truzjan <pxqr.sta@gmail.com> | 2013-12-22 05:08:51 +0400 |
commit | ce8a1546bdcfbbb7c45407e3811cafc99d667ee1 (patch) | |
tree | 226ef8aaec8f15adb71bb5859ae851118b618b59 /changelog | |
parent | ca59e5cfac34d8a59203e91fdd9dd432f537c346 (diff) |
Run each handler in separate thread.
This is needed because handler can call query too. The minimal example:
* listener received KQuery(1);
* listener dispatch corresponding handler;
* handler send KQuery(2);
* handler blocked waiting for response;
* listener is unable to receive KQuery(2) because it is blocked on
handler.
So we should run each handler in separated thread otherwise dead lock
can happen.
Diffstat (limited to 'changelog')
0 files changed, 0 insertions, 0 deletions