ChibiOS/RT Architecture - Reference Manual - Guides |
Five threads with randomized priorities are enqueued to a semaphore then awakened one at time.
The test expects that the threads reach their goal in FIFO order or priority order depending on the CH_USE_SEMAPHORES_PRIORITY configuration setting.