Home
last modified time | relevance | path

Searched refs:queue (Results 1 – 2 of 2) sorted by relevance

/CTR-SDK-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/include/nn/net/compatible/nlib/
Dnlib_queue.h40 #define NLIB_Queue_Init(queue) ((queue)->next = (queue)->prev = NULL) argument
45 #define NLIB_Queue_QueryHead(queue) ((queue)->next) argument
50 #define NLIB_Queue_QueryTail(queue) ((queue)->prev) argument
65 #define NLIB_Queue_IsEmpty(queue) ((queue)->next == NULL) argument
70 #define NLIB_Queue_IsEnd(queue, item) ((item) == NULL) argument
75 #define NLIB_Queue_EnqueueAfter(type, queue, previtem, item, link) \ argument
80 if (NLIB_Queue_IsEnd(queue, (item)->link.next)) \
81 (queue)->prev = (NLIBQueue*) (item); \
89 #define NLIB_Queue_EnqueueBefore(type, queue, item, afteritem, link) \ argument
94 if (NLIB_Queue_IsEnd(queue, (item)->link.prev)) \
[all …]
/CTR-SDK-0.14.23/CTR_SDK-0_14_23-20110107-en/CTR_SDK/include/nn/net/compatible/nos/
Dnos_horizon.h266 NN_INLINE void NOS_InitThreadQueue(NOSThreadQueue* queue) in NOS_InitThreadQueue() argument
268 nnosEventInitialize(queue, TRUE); in NOS_InitThreadQueue()
286 NN_INLINE void NOS_WakeupThread(NOSThreadQueue* queue) in NOS_WakeupThread() argument
288 nnosEventSignal(queue); in NOS_WakeupThread()
311 NN_INLINE void NOS_SleepThread(NOSThreadQueue* queue) in NOS_SleepThread() argument
314 NN_TASSERT_(queue != NULL); in NOS_SleepThread()
315 nnosEventClearSignal(queue); in NOS_SleepThread()
316 nnosEventWaitSignal(queue); in NOS_SleepThread()