aboutsummaryrefslogtreecommitdiffstats
path: root/src/gqueue
diff options
context:
space:
mode:
Diffstat (limited to 'src/gqueue')
-rw-r--r--src/gqueue/gqueue.c2
-rw-r--r--src/gqueue/gqueue.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/gqueue/gqueue.c b/src/gqueue/gqueue.c
index e761c238..77a7647b 100644
--- a/src/gqueue/gqueue.c
+++ b/src/gqueue/gqueue.c
@@ -297,7 +297,7 @@ void _gqueueDeinit(void)
gfxSemInit(&pqueue->sem, 0, MAX_SEMAPHORE_COUNT);
}
void gfxQueueFSyncDeinit(gfxQueueGSync *pqueue) {
- while(gfxQueueFSyncGet(pqueue, TIME_IMMEDIATE));
+ while(gfxQueueFSyncGet(pqueue, gDelayNone));
pqueue->head = pqueue->tail = 0;
gfxSemDestroy(&pqueue->sem);
}
diff --git a/src/gqueue/gqueue.h b/src/gqueue/gqueue.h
index fa4a31e5..9cde670d 100644
--- a/src/gqueue/gqueue.h
+++ b/src/gqueue/gqueue.h
@@ -124,7 +124,7 @@ void gfxQueueFSyncDeinit(gfxQueueFSync *pqueue);
*
* @param[in] pqueue A pointer to the queue
* @param[in] ms The maxmimum time to wait for an item. For ASync queues this parameter is
- * not specified as TIME_IMMEDIATE is assumed.
+ * not specified as gDelayNone is assumed.
*
* @note The routines ending in "I" are interrupt/system/iclass level routines.
*
@@ -147,7 +147,7 @@ gfxQueueFSyncItem *gfxQueueFSyncGet(gfxQueueFSync *pqueue, gDelay ms);
* @param[in] pitem A pointer to the queue item
* @param[in] ms The maxmimum time to wait for an item to be removed from the queue (only for FSync queues)
*
- * @note FSync: Use a delay time of TIME_IMMEDIATE if you don't want to wait until the
+ * @note FSync: Use a delay time of gDelayNone if you don't want to wait until the
* item is removed from the queue. Note that even if the timeout occurs - the item
* remains in the queue.
* @note The routines ending in "I" are interrupt/system/iclass level routines.
@@ -185,7 +185,7 @@ gBool gfxQueueFSyncPut(gfxQueueFSync *pqueue, gfxQueueFSyncItem *pitem, gDelay m
* @param[in] pitem A pointer to the queue item
* @param[in] ms The maxmimum time to wait for an item to be popped (only for FSync queues)
*
- * @note FSync: Use a delay time of TIME_IMMEDIATE if you don't want to wait until the
+ * @note FSync: Use a delay time of gDelayNone if you don't want to wait until the
* item is removed from the queue. Note that even if the timeout occurs - the item
* remains in the queue.
* @note The routines ending in "I" are interrupt/system/iclass level routines.
@@ -211,7 +211,7 @@ gBool gfxQueueFSyncPush(gfxQueueFSync *pqueue, gfxQueueFSyncItem *pitem, gDelay
* pafter can't be found in the queue, it puts the new item at the end of the queue.
* @param[in] ms The maxmimum time to wait for an item to be removed from the queue (only for FSync queues)
*
- * @note FSync: Use a delay time of TIME_IMMEDIATE if you don't want to wait until the
+ * @note FSync: Use a delay time of gDelayNone if you don't want to wait until the
* item is removed from the queue. Note that even if the timeout occurs - the item
* remains in the queue.
* @note The routines ending in "I" are interrupt/system/iclass level routines.