Actions
Feature #1105
closedappmgr should use semaphores for it's main loop
Start date:
15 Mar 2024
Due date:
% Done:
100%
Estimated time:
Severity:
03 - Medium
Description
Use a semaphore for the main loop instead of a simple sleep loop.
Updated by Hammel 7 months ago
- Status changed from New to In Progress
- % Done changed from 0 to 10
See queueMgr.c and queueProcessor.c in piboxd for examples.
The main loop should just wait on a semaphore created during initialization.
The sig_handler() should post the semaphore to exit the app.
After the main loop the semaphore can be destroyed.
Actions