WaitForSingleObject
E724279
WaitForSingleObject is a Windows API synchronization function that blocks a thread until a specified object is signaled or a timeout interval elapses.
All labels observed (1)
| Label | Occurrences |
|---|---|
| WaitForSingleObject canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T8288313 — 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: WaitForSingleObject Context triple: [Kernel32, exportsFunction, WaitForSingleObject]
-
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.
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.
-
D.
System.Threading
System.Threading is a .NET namespace that provides types and APIs for working with threads, tasks, synchronization, and concurrent programming.
-
E.
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.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: WaitForSingleObject Target entity description: WaitForSingleObject is a Windows API synchronization function that blocks a thread until a specified object is signaled or a timeout interval elapses.
-
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.
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.
-
D.
System.Threading
System.Threading is a .NET namespace that provides types and APIs for working with threads, tasks, synchronization, and concurrent programming.
-
E.
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.
- F. None of above. chosen
Statements (48)
| Predicate | Object |
|---|---|
| instanceOf |
Windows API function
ⓘ
synchronization function ⓘ |
| alertableWait | false ⓘ |
| appliesTo | user-mode threads ⓘ |
| asynchronousAlternative | RegisterWaitForSingleObject NERFINISHED ⓘ |
| belongsToLibrary | Win32 API NERFINISHED ⓘ |
| callingConvention | stdcall ⓘ |
| definedInHeader | windows.h ⓘ |
| errorRetrievalFunction | GetLastError ⓘ |
| introducedIn | early versions of Win32 ⓘ |
| languageBinding |
C
ⓘ
C++ ⓘ |
| library | Kernel32.dll NERFINISHED ⓘ |
| managedWrapper | System.Threading.WaitHandle.WaitOne in .NET ⓘ |
| multiObjectAlternative | WaitForMultipleObjects NERFINISHED ⓘ |
| multiObjectWaitSupport | false ⓘ |
| operatingSystem |
Windows
ⓘ
surface form:
Microsoft Windows
|
| parameter |
DWORD dwMilliseconds
ⓘ
HANDLE hHandle ⓘ |
| purpose | waits until a specified object is in the signaled state or a timeout interval elapses ⓘ |
| returnType | DWORD ⓘ |
| returnValue |
WAIT_ABANDONED
ⓘ
WAIT_FAILED ⓘ WAIT_OBJECT_0 ⓘ WAIT_TIMEOUT ⓘ |
| returnValueMeaning |
the function failed
ⓘ
the specified object is signaled ⓘ the time-out interval elapsed ⓘ the wait was satisfied by an abandoned mutex object ⓘ |
| supportsTimeout | true ⓘ |
| synchronizationModel | kernel-mode synchronization ⓘ |
| synchronizationScope | single waitable object ⓘ |
| threadBlocking | blocks the calling thread ⓘ |
| timeoutSpecialValue | INFINITE ⓘ |
| timeoutSpecialValueMeaning | waits indefinitely ⓘ |
| timeoutUnit | milliseconds ⓘ |
| usagePattern |
used to implement thread synchronization
ⓘ
used to wait for process termination ⓘ used to wait for thread completion ⓘ |
| waitableObjectType |
change notification handle
ⓘ
console input handle ⓘ event object ⓘ job object handle ⓘ mutex object ⓘ process handle ⓘ semaphore object ⓘ thread handle ⓘ waitable timer ⓘ |
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: WaitForSingleObject Description of subject: WaitForSingleObject is a Windows API synchronization function that blocks a thread until a specified object is signaled or a timeout interval elapses.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.