Fix missing return values in FSync GQUEUE implementations
This commit is contained in:
parent
3d3555ec5a
commit
4261a1fb0b
@ -20,7 +20,10 @@ FIX: STM32LTDC driver: Fix bug in gdisp_lld_blit_area() which affected bl
|
|||||||
FIX: Improve /demos/benchmarks/rectangles.
|
FIX: Improve /demos/benchmarks/rectangles.
|
||||||
FIX: Win32 driver: Fix buffer position calculation in gdisp_lld_blit_area().
|
FIX: Win32 driver: Fix buffer position calculation in gdisp_lld_blit_area().
|
||||||
FIX: Win32 driver: Fix memory leak / invalid pointer to free() when re-calculating buffer position in a specific situation.
|
FIX: Win32 driver: Fix memory leak / invalid pointer to free() when re-calculating buffer position in a specific situation.
|
||||||
FIX: Prevent const qualifier being discarded in vfnprintg()
|
FIX: Prevent const qualifier being discarded in vfnprintg().
|
||||||
|
FIX: Fix missing return value in gfxQueueFSyncPut().
|
||||||
|
FIX: Fix missing return value in gfxQueueFSyncPush().
|
||||||
|
FIX: Fix missing return value in gfxQueueFSyncInsert().
|
||||||
|
|
||||||
|
|
||||||
*** Release 2.9 ***
|
*** Release 2.9 ***
|
||||||
|
@ -321,7 +321,7 @@ void _gqueueDeinit(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
gBool gfxQueueFSyncPut(gfxQueueFSync *pqueue, gfxQueueFSyncItem *pitem, gDelay ms) {
|
gBool gfxQueueFSyncPut(gfxQueueFSync *pqueue, gfxQueueFSyncItem *pitem, gDelay ms) {
|
||||||
if (!pitem) return; // Safety
|
if (!pitem) return gFalse; // Safety
|
||||||
gfxSemInit(&pitem->sem, 0, 1);
|
gfxSemInit(&pitem->sem, 0, 1);
|
||||||
pitem->next = 0;
|
pitem->next = 0;
|
||||||
|
|
||||||
@ -340,7 +340,7 @@ void _gqueueDeinit(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
gBool gfxQueueFSyncPush(gfxQueueFSync *pqueue, gfxQueueFSyncItem *pitem, gDelay ms) {
|
gBool gfxQueueFSyncPush(gfxQueueFSync *pqueue, gfxQueueFSyncItem *pitem, gDelay ms) {
|
||||||
if (!pitem) return; // Safety
|
if (!pitem) return gFalse; // Safety
|
||||||
gfxSemInit(&pitem->sem, 0, 1);
|
gfxSemInit(&pitem->sem, 0, 1);
|
||||||
|
|
||||||
gfxSystemLock();
|
gfxSystemLock();
|
||||||
@ -356,7 +356,7 @@ void _gqueueDeinit(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
gBool gfxQueueFSyncInsert(gfxQueueFSync *pqueue, gfxQueueFSyncItem *pitem, gfxQueueFSyncItem *pafter, gDelay ms) {
|
gBool gfxQueueFSyncInsert(gfxQueueFSync *pqueue, gfxQueueFSyncItem *pitem, gfxQueueFSyncItem *pafter, gDelay ms) {
|
||||||
if (!pitem) return; // Safety
|
if (!pitem) return gFalse; // Safety
|
||||||
gfxSemInit(&pitem->sem, 0, 1);
|
gfxSemInit(&pitem->sem, 0, 1);
|
||||||
|
|
||||||
gfxSystemLock();
|
gfxSystemLock();
|
||||||
|
Loading…
Reference in New Issue
Block a user