MCPcopy Create free account
hub / github.com/cemu-project/Cemu / IOS_DestroyMessageQueue

Function IOS_DestroyMessageQueue

src/Cafe/IOSU/kernel/iosu_kernel.cpp:92–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 }
91
92 IOS_ERROR IOS_DestroyMessageQueue(IOSMsgQueueId msgQueueId)
93 {
94 std::unique_lock _l(sInternalMutex);
95 IOSMessageQueue* msgQueue = nullptr;
96 IOS_ERROR r = _IOS_GetMessageQueue(msgQueueId, msgQueue);
97 if (r != IOS_ERROR_OK)
98 return r;
99 msgQueue->msgArraySize = 0;
100 msgQueue->queueHandle = 0;
101 IOS_DestroyResourceManagerForQueueId(msgQueueId);
102 return IOS_ERROR_OK;
103 }
104
105 IOS_ERROR IOS_SendMessage(IOSMsgQueueId msgQueueId, IOSMessage message, uint32 flags)
106 {

Callers 2

SystemExitFunction · 0.85
ServiceThreadMethod · 0.85

Calls 2

_IOS_GetMessageQueueFunction · 0.85

Tested by

no test coverage detected