| Class | Win32::Ipc |
| In: |
ipc.rb
|
| Parent: | Object |
This is a an abstract base class for IPC related classes, such as Events and Semaphores.
| VERSION | = | '0.5.0' |
| SIGNALED | = | 1 |
| ABANDONED | = | -1 |
| TIMEOUT | = | 0 |
| handle | [R] | The HANDLE object (an unsigned long value). Mostly provided for subclasses to use internally when needed. |
Creates and returns a new IPC object. Since the IPC class is meant as an abstract base class, you should never call this method directly.
Identical to IPC#wait_any, except that it waits for all ipc_objects to be signaled instead of just one.
Returns the index of the last object signaled. If at least one of the objects is an abandoned mutex, the return value is negative.
Waits for at least one of the ipc_objects to be signaled. The timeout value is maximum time to wait in seconds. A timeout of 0 returns immediately.
Returns the index+1 of the object that was signaled. If multiple objects are signaled, the one with the lowest index is returned. Returns 0 if no objects are signaled.