XThreadAssertNotTimeSensitive
Breaks into the debugger if the calling thread is marked as time sensitive.Syntax
Parameters
None.Return value
Type: void None.Remarks
This function breaks into the debugger if the calling thread is marked as a time-sensitive thread, on which blocking or long-running operations should not be performed. Only Gaming Runtime Services (GRTS) APIs that are time-sensitive–safe can be called on a time-sensitive thread. For more information, see Time-sensitive threads. If this function is called from a time-sensitive thread and no debugger is attached, then the call does nothing. If a debugger is attached, it will break into the debugger and output a debug string similar to the following example.Requirements
Header: XThread.h Library: xgameruntime.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesConceptual documentation
See also
XThreadTime-sensitive threads
