]> git.pond.sub.org Git - empserver/commit - include/empio.h
Remove blocking struct iop operation
authorMarkus Armbruster <armbru@pond.sub.org>
Wed, 22 Apr 2009 18:16:13 +0000 (20:16 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 19 Jul 2009 18:11:52 +0000 (14:11 -0400)
commit3805548b3e94d5978d932c1bf2e42b183143a951
tree8635fd52e132b401cda04448b6c47b3c6e7a069a
parent70bc528d0da09be69bdf5a192cfe0c1daf126211
Remove blocking struct iop operation

The blocking I/O option makes no sense in the server, because it
blocks the server process instead of the thread.  In fact, it's been
unused since Empire 2, except for one place, where it was used
incorrectly, and got removed in the previous commit.

Make I/O non-blocking in io_open() unconditionally.  Remove IO_NBLOCK
and io_noblocking().
include/empio.h
src/lib/empthread/io.c
src/lib/player/accept.c