summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2013-12-26 00:26:36 +0000
committerSam Truzjan <pxqr.sta@gmail.com>2014-01-04 21:17:52 +0400
commit2471173e557f930a872606cdbf21f4f6df74d53e (patch)
treee51e6c666706e6035c2b3909ba8311dd5af6fc42
parentcc8f393c447b53724ebdcbd8f86301d530550dcc (diff)
Turns out network's send/recv do use GHC's fd manager stuff
Conflicts: TODO.org
-rw-r--r--TODO.org7
1 files changed, 0 insertions, 7 deletions
diff --git a/TODO.org b/TODO.org
index 0d8c2c7a..24eb6c6c 100644
--- a/TODO.org
+++ b/TODO.org
@@ -1,11 +1,4 @@
1* TODO Rename Ext,Extension -> Cap 1* TODO Rename Ext,Extension -> Cap
2* TODO Use System.IO instead of Network.recv/send
3 The functions in System.IO use GHC/base's built in support for epoll/kqueue
4 and the like which makes them a whole lot more efficient for file descriptor
5 I/O. Network.recv/send on the other hand just use a plain FFI call to
6 recvmsg/sendmsg which will block the whole OS thread.
7
8** TODO Compare performance of the two
9* TODO Proper handling of transaction ids in UDP tracker 2* TODO Proper handling of transaction ids in UDP tracker
10 3
11Just like the krpc package does. 4Just like the krpc package does.