summaryrefslogtreecommitdiff
path: root/docs/common/lib_common/WaitForEvent.txt
diff options
context:
space:
mode:
authorJames O'Gorman <james@netinertia.co.uk>2008-10-07 18:41:42 +0000
committerJames O'Gorman <james@netinertia.co.uk>2008-10-07 18:41:42 +0000
commit484050636ea8600ccbb86e73e234513fb7098778 (patch)
treeb0f4944112b6e8b9c307105dc7cd52d7a57dfa51 /docs/common/lib_common/WaitForEvent.txt
parent24ecccad3945f909e4022bb7220291f0f2951916 (diff)
Documentation restructuring: part 1 of 2.
Diffstat (limited to 'docs/common/lib_common/WaitForEvent.txt')
-rw-r--r--docs/common/lib_common/WaitForEvent.txt16
1 files changed, 0 insertions, 16 deletions
diff --git a/docs/common/lib_common/WaitForEvent.txt b/docs/common/lib_common/WaitForEvent.txt
deleted file mode 100644
index 0bc55726..00000000
--- a/docs/common/lib_common/WaitForEvent.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-CLASS WaitForEvent
-
-This class implements a way to efficiently wait on one or more system objects, for example sockets and file descriptors. Where kqueue() is available, this is used, otherwise poll(). The poll() implementation is less comprehensive and rather more limited.
-
-To add a compatible object, call Add(). To remove it, call Remove(). To wait for an object to become ready, call Wait(), which returns a pointer to the first ready object, or 0 for a timeout.
-
-The timeout is set either in the constructor, or using the SetTimout() method. It is specified in milliseconds.
-
-The kqueue based implementation will automatically remove objects when they are closed (actually, the OS does this), but the poll implementation requires that Remove() be called.
-
-The flags passed to Add() or Remove() are passed to the object, and are ignored by this class.
-
-For an object to be able to be added to the list, it should implement FillInKEvent() and FillInPoll() for kqueue and poll implementations respectively. Use the PLATFORM_KQUEUE_NOT_SUPPORTED define to test which is necessary for the platform.
-
-It does not have to be derived off any particular class, as it uses templates to be compatible with any class.
-