MCPcopy Create free account
hub / github.com/devkitPro/libctru / gxCmdQueueStop

Function gxCmdQueueStop

libctru/source/gpu/gxqueue.c:93–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93void gxCmdQueueStop(gxCmdQueue_s* queue)
94{
95 if (!curQueue)
96 return;
97 LightLock_Lock(&queueLock);
98 if (!isRunning)
99 {
100 curQueue = NULL;
101 isActive = false;
102 } else
103 shouldStop = true;
104 LightLock_Unlock(&queueLock);
105}
106
107bool gxCmdQueueWait(gxCmdQueue_s* queue, s64 timeout)
108{

Callers

nothing calls this directly

Calls 2

LightLock_LockFunction · 0.85
LightLock_UnlockFunction · 0.85

Tested by

no test coverage detected