Age | Commit message (Collapse) | Author |
|
|
|
envelope (Tox) or in the query/response payload (Mainline).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This fixes cobit/bittorrent#7 for GHC 7.8.3: 7.8.3 fixed
FunctionalDependencies so the existing instances are no longer allowed
and in fact FD is not necessary there at all.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|