summaryrefslogtreecommitdiff
path: root/TODO.win32
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2010-11-28 04:06:57 +0100
committerBert Belder <bertbelder@gmail.com>2010-12-20 23:51:24 +0100
commita6aca21ced21feca8a6fcbe9419a1b68ab0dab09 (patch)
tree2e5b18c4f68ed8283f05ef8c6c68b8fd29b70f49 /TODO.win32
parent6d266219cc8603ea7034685e6f5afffae2a6ff2f (diff)
downloadandroid-node-v8-a6aca21ced21feca8a6fcbe9419a1b68ab0dab09.tar.gz
android-node-v8-a6aca21ced21feca8a6fcbe9419a1b68ab0dab09.tar.bz2
android-node-v8-a6aca21ced21feca8a6fcbe9419a1b68ab0dab09.zip
Updating todo.WIN32
Diffstat (limited to 'TODO.win32')
-rw-r--r--TODO.win327
1 files changed, 5 insertions, 2 deletions
diff --git a/TODO.win32 b/TODO.win32
index 35acaeb64a..09438698ab 100644
--- a/TODO.win32
+++ b/TODO.win32
@@ -10,7 +10,8 @@
- Child processes
Should not be too hard using CreatePipe, CreateProcessW and GetExitCodeProcess.
- When customFds are specified, should we support hooking up to a socket fd?
+ Hooking up the child to a socket is tricky but it can be done (http://www.spinellis.gr/sw/unix/socketpipe/socketpipe-win.c)
+ Waiting for the child to exit is tricky, probably would require a wait thread to wait for the child, then ev_async notify.
How can we distinguish between the exit code and exception number after calling GetExitCodeProcess?
- Stdio (make TTY's / repl / readline work)
@@ -54,13 +55,15 @@
- Support using shared libs (libeio, v8, c-ares)
Need to link with with a stub library. Libraries should use `dllexport`, headers must have `dllimport`.
-- V8: push MING32 build fixes upstream
+- V8: push MINGW32 build fixes upstream
- Work with the V8 team to get the stack corruption bug fixed
- Work around missing pread/pwrite more elegantly
Currently it's exported from libeio, while it wasn't intended to be exported.
The libeio workaround implementation sucks, it uses a global mutex.
+ It should be possible to implement pread and pwrite using winapi's ReadFile/Writefile
+ directly, passing an OVERLAPPED structure while not associating with an completion port.
- Work around missing inet_pton/inet_ntop more elegantly
Currently it's exported from from c-ares, while it wasn't intended to be exported.