2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Mon, 15 Mar 2004 21:19:02 +0000 (21:19 -0000)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Mon, 15 Mar 2004 21:19:02 +0000 (21:19 -0000)
commit760a7ce27c43d3d34f006aee7c2a64058a0b364e
tree6eb917d66e4eac5a970142e251dcba71dd9eafbf
parent33be26a10560e5d94d2b3f680abb512703e86bd4
2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* io-layer/io-private.h: added new fields for file structure. Declare
_wapi_io_add_callback.

* io-layer/io.c: added _wapi_get_win32_error, support aio_read/write
in file_read/write. Implemented _wapi_io_add_callback, which is where
BindHandle ends up.

* io-layer/io.h: added new fields for WapiOverlapped and typedef for
the callback.

* io-layer/processes.c: fixed off-by-one bug when handling environment
variables passed in.

* io-layer/threads.[ch]: implemented BindIoCompletionCallback.

* io-layer/uglify.h: added typedef for LPOVERLAPPED_COMPLETION_ROUTINE.

* metadata/appdomain.c: upgraded corlib version.

* metadata/file-io.c: implemented new icalls: GetSupportsAIO, BeginRead
and BeginWrite. Allow opening files for asynchrnous operations.

* metadata/file-io.h: new struct that maps FileStreamAsyncResult.
* metadata/icall.c: added new icalls.
* metadata/process.[ch]: support setting child process environment
variables and use the SHELL or COMSPEC when UseShellExecute is true.

* metadata/threadpool.[ch]: fixed warnings, moved ThreadPool icalls
here.  The callback for async. IO is here and also BindHandle.

* metadata/threads.[ch]: added mono_thread_detach and removed
ThreadPool icalls from here.

svn path=/trunk/mono/; revision=24067
19 files changed:
mono/io-layer/ChangeLog
mono/io-layer/io-private.h
mono/io-layer/io.c
mono/io-layer/io.h
mono/io-layer/processes.c
mono/io-layer/threads.c
mono/io-layer/threads.h
mono/io-layer/uglify.h
mono/metadata/ChangeLog
mono/metadata/appdomain.c
mono/metadata/file-io.c
mono/metadata/file-io.h
mono/metadata/icall.c
mono/metadata/process.c
mono/metadata/process.h
mono/metadata/threadpool.c
mono/metadata/threadpool.h
mono/metadata/threads.c
mono/metadata/threads.h