#include "OSC-common.h"#include "OSC-timetag.h"#include "OSC-priority-queue.h"#include <stdio.h>Classes | |
| struct | OSCQueueStruct |
Defines | |
| #define | PRINT_PRIORITY_QUEUE |
| #define | CAPACITY 1000 |
Functions | |
| void | OSCQueuePrint (OSCQueue q) |
| OSCQueue | OSCNewQueue (int maxItems, void *(*InitTimeMalloc)(int numBytes)) |
| Boolean | OSCQueueInsert (OSCQueue q, OSCSchedulableObject new) |
| OSCTimeTag | OSCQueueEarliestTimeTag (OSCQueue q) |
| static void | RemoveElement (int goner, OSCQueue q) |
| OSCSchedulableObject | OSCQueueRemoveEarliest (OSCQueue q) |
| void | OSCQueueScanStart (OSCQueue q) |
| OSCSchedulableObject | OSCQueueScanNext (OSCQueue q) |
| void | OSCQueueRemoveCurrentScanItem (OSCQueue q) |
| void | CheckWholeQueue (void) |
| #define PRINT_PRIORITY_QUEUE |
| #define CAPACITY 1000 |
Referenced by OSCNewQueue(), and OSCQueueInsert().
| void OSCQueuePrint | ( | OSCQueue | q | ) |
References OSCQueueStruct::list, OSCQueueStruct::n, and OSCSchedulableObject::timetag.
Referenced by OSCNewQueue(), OSCQueueEarliestTimeTag(), OSCQueueInsert(), and OSCQueueRemoveEarliest().
| OSCQueue OSCNewQueue | ( | int | maxItems, | |
| void *(*)(int numBytes) | InitTimeMalloc | |||
| ) |
References CAPACITY, fatal_error(), OSCQueueStruct::n, and OSCQueuePrint().
Referenced by OSCInitReceive().
| Boolean OSCQueueInsert | ( | OSCQueue | q, | |
| OSCSchedulableObject | new | |||
| ) |
References CAPACITY, FALSE, OSCQueueStruct::list, OSCQueueStruct::n, OSCQueuePrint(), and TRUE.
Referenced by InsertBundleOrMessage(), and OSCScheduleInternalMessages().
| OSCTimeTag OSCQueueEarliestTimeTag | ( | OSCQueue | q | ) |
References OSCQueueStruct::list, OSCQueueStruct::n, OSCQueuePrint(), OSCTT_BiggestPossibleTimeTag(), OSCTT_Compare(), and OSCSchedulableObject::timetag.
Referenced by OSCInvokeMessagesThatAreReady().
| static void RemoveElement | ( | int | goner, | |
| OSCQueue | q | |||
| ) | [static] |
References OSCQueueStruct::list, and OSCQueueStruct::n.
Referenced by OSCQueueRemoveCurrentScanItem(), and OSCQueueRemoveEarliest().
| OSCSchedulableObject OSCQueueRemoveEarliest | ( | OSCQueue | q | ) |
References OSCQueueStruct::list, OSCQueueStruct::n, OSCQueuePrint(), OSCTT_Compare(), OSCWarning(), RemoveElement(), and OSCSchedulableObject::timetag.
Referenced by OSCInvokeMessagesThatAreReady().
| void OSCQueueScanStart | ( | OSCQueue | q | ) |
| OSCSchedulableObject OSCQueueScanNext | ( | OSCQueue | q | ) |
References OSCQueueStruct::list, OSCQueueStruct::n, and OSCQueueStruct::scanIndex.
Referenced by OSCBeProductiveWhileWaiting().
| void OSCQueueRemoveCurrentScanItem | ( | OSCQueue | q | ) |
References RemoveElement(), and OSCQueueStruct::scanIndex.
Referenced by OSCBeProductiveWhileWaiting().
| void CheckWholeQueue | ( | void | ) |
1.5.8