WSAWaitForMultipleEvents
E724291
WSAWaitForMultipleEvents is a Winsock 2 API function that waits for one or more network event objects to become signaled, enabling efficient event-driven socket I/O on Windows.
All labels observed (1)
| Label | Occurrences |
|---|---|
| WSAWaitForMultipleEvents canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T8288415 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: WSAWaitForMultipleEvents Context triple: [Ws2_32, exportsFunction, WSAWaitForMultipleEvents]
-
A.
EventWaitHandle
EventWaitHandle is a .NET synchronization primitive that allows threads or processes to signal and wait for events, coordinating execution flow in concurrent applications.
-
B.
RegisteredWaitHandle
RegisteredWaitHandle is a .NET threading class that represents a handle to a registered wait operation, allowing callbacks to be invoked when a WaitHandle is signaled or a timeout occurs.
-
C.
ManualResetEvent
ManualResetEvent is a .NET synchronization primitive that allows threads to wait until a signal is set and remains signaled until it is manually reset.
-
D.
AutoResetEvent
AutoResetEvent is a synchronization primitive in .NET used to manage signaling between threads by automatically resetting its state after releasing a single waiting thread.
-
E.
ManualResetEventSlim
ManualResetEventSlim is a lightweight synchronization primitive in .NET used to efficiently signal and wait for events across threads, offering better performance than the classic ManualResetEvent in many scenarios.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: WSAWaitForMultipleEvents Target entity description: WSAWaitForMultipleEvents is a Winsock 2 API function that waits for one or more network event objects to become signaled, enabling efficient event-driven socket I/O on Windows.
-
A.
EventWaitHandle
EventWaitHandle is a .NET synchronization primitive that allows threads or processes to signal and wait for events, coordinating execution flow in concurrent applications.
-
B.
RegisteredWaitHandle
RegisteredWaitHandle is a .NET threading class that represents a handle to a registered wait operation, allowing callbacks to be invoked when a WaitHandle is signaled or a timeout occurs.
-
C.
ManualResetEvent
ManualResetEvent is a .NET synchronization primitive that allows threads to wait until a signal is set and remains signaled until it is manually reset.
-
D.
AutoResetEvent
AutoResetEvent is a synchronization primitive in .NET used to manage signaling between threads by automatically resetting its state after releasing a single waiting thread.
-
E.
ManualResetEventSlim
ManualResetEventSlim is a lightweight synchronization primitive in .NET used to efficiently signal and wait for events across threads, offering better performance than the classic ManualResetEvent in many scenarios.
- F. None of above. chosen
Statements (47)
| Predicate | Object |
|---|---|
| instanceOf |
Windows Sockets 2 API function
ⓘ
Winsock function ⓘ |
| abandonedReturn | WSA_WAIT_IO_COMPLETION NERFINISHED ⓘ |
| alertableFlag | fAlertable controls APC and I/O completion wakeups ⓘ |
| callingConvention | WINAPI ⓘ |
| category |
network event wait function
ⓘ
synchronization function ⓘ |
| definedIn | Winsock 2 NERFINISHED ⓘ |
| dll | Ws2_32.dll ⓘ |
| errorReporting | uses WSAGetLastError for extended error information ⓘ |
| failureReturn | WSA_WAIT_FAILED ⓘ |
| header | winsock2.h NERFINISHED ⓘ |
| introducedIn | Winsock 2 specification NERFINISHED ⓘ |
| languageBinding |
C
ⓘ
C++ ⓘ |
| library | Ws2_32.lib ⓘ |
| maxEvents | WSA_MAXIMUM_WAIT_EVENTS ⓘ |
| namespace | global C API ⓘ |
| parameter |
BOOL fAlertable
ⓘ
BOOL fWaitAll ⓘ DWORD cEvents ⓘ DWORD dwTimeout ⓘ const WSAEVENT FAR * lphEvents ⓘ |
| partOf | Windows Sockets 2 API NERFINISHED ⓘ |
| platform |
Windows
ⓘ
surface form:
Microsoft Windows
|
| purpose | waits for one or more network event objects to become signaled ⓘ |
| relatedFunction |
WSACreateEvent
NERFINISHED
ⓘ
WSAEnumNetworkEvents NERFINISHED ⓘ WSAEventSelect NERFINISHED ⓘ WSAResetEvent NERFINISHED ⓘ WSASetEvent NERFINISHED ⓘ |
| replaces | select in some event-driven designs ⓘ |
| requires | successful WSAStartup initialization ⓘ |
| returnType | DWORD ⓘ |
| similarTo | WaitForMultipleObjects but for WSAEVENT handles ⓘ |
| successReturn | index of the signaled event offset by WSA_WAIT_EVENT_0 ⓘ |
| supports |
asynchronous network operations
ⓘ
event-driven socket I/O ⓘ overlapped I/O ⓘ |
| threading | can be used from multithreaded applications ⓘ |
| timeoutBehavior | returns WSA_WAIT_TIMEOUT when timeout elapses ⓘ |
| timeoutReturn | WSA_WAIT_TIMEOUT ⓘ |
| timeoutUnit | milliseconds ⓘ |
| usagePattern | commonly used in loops to monitor multiple sockets ⓘ |
| usedFor | efficient multiplexing of multiple sockets on Windows ⓘ |
| usesHandleType | WSAEVENT ⓘ |
| waitAllFlag | fWaitAll controls whether all events must be signaled ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: WSAWaitForMultipleEvents Description of subject: WSAWaitForMultipleEvents is a Winsock 2 API function that waits for one or more network event objects to become signaled, enabling efficient event-driven socket I/O on Windows.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.