mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 20:08:15 +08:00
aio_cancel need signal caller after the succeed and fix minor issue in the error handler
This commit is contained in:
@@ -109,6 +109,7 @@ void aio_initialize(void)
|
||||
/* Initialize counting semaphores */
|
||||
|
||||
(void)nxsem_init(&g_aioc_freesem, 0, CONFIG_FS_NAIOC);
|
||||
(void)nxsem_setprotocol(&g_aioc_freesem, SEM_PRIO_NONE);
|
||||
(void)nxsem_init(&g_aio_exclsem, 0, 1);
|
||||
|
||||
g_aio_holder = INVALID_PROCESS_ID;
|
||||
|
||||
Reference in New Issue
Block a user