SdlIsMainThread
Return whether this is the main thread.
On Apple platforms, the main thread is the thread that runs your program's entry point. On other platforms, the main thread is the one that calls SdlInit([TSdlInitFlag.Video]), which should usually be the one that runs your program's entry point.
Definition
Unit: Neslib.Sdl3.Basics
Returns
Boolean
: True if this thread is the main thread, or False otherwise.
See Also
Remarks
It is safe to call this function from any thread.