Merge from HEAD of the handles-as-file-descriptors work.
authorDick Porter <dick@acm.org>
Mon, 6 Sep 2004 14:35:12 +0000 (14:35 -0000)
committerDick Porter <dick@acm.org>
Mon, 6 Sep 2004 14:35:12 +0000 (14:35 -0000)
commit8b953832a63fc29fcf872506bc7466bb66737360
tree2303c99ddf60be11dfcc921433d65745ba9fc7d2
parent5359b46a8d2a74f9eb4f3c9318ca7a0337e38e01
Merge from HEAD of the handles-as-file-descriptors work.

2004-08-19  Dick Porter  <dick@ximian.com>

* handles.c (_wapi_handle_count_signalled_handles): Fix thinko
introduced with the fd offset stuff: unlock handles properly when
backing off.  Fixes the monologue hang at exit.

2004-08-18  Dick Porter  <dick@ximian.com>

* sockets.c:
* io.c: Check that new fds fit in the table, return error if not

* daemon.c (_wapi_daemon_main):
* handles.c (shared_init): Have all processes agree on a size for
the fd table.

2004-08-17  Dick Porter  <dick@ximian.com>

* daemon.c (process_new):
* handles.c (_wapi_handle_new_internal): Cope when the space
reserved for file descriptors is larger than the shared segment
size.  Fixes the crash reported when running mono under gdb on
macosx.

2004-08-16  Dick Porter  <dick@ximian.com>

* sockets.c:
* io.c:
* handles-private.h (_wapi_handle_fd_offset_to_handle): Improve
error checking with passed-in file descriptors.

2004-08-11  Dick Porter  <dick@ximian.com>

* sockets.c:
* io.c: Returned handle values are the file descriptor the handle
encapsulates

* handles.c:
* handles-private.h:
* daemon.c: Reserve the range of handles that can have the same
values as file descriptors.  These won't be used, but the values
will be used as file, console, pipe or socket handles.  The fd to
handle mapping is done internally and is invisible to users.
Fixes bug 61828.

* wapi-private.h (_WAPI_HANDLE_VERSION): Increment, because we now
reserve a chunk of handle space.

svn path=/branches/mono-1-0/mono/; revision=33409
mono/io-layer/ChangeLog
mono/io-layer/daemon.c
mono/io-layer/handles-private.h
mono/io-layer/handles.c
mono/io-layer/io.c
mono/io-layer/sockets.c
mono/io-layer/wapi-private.h