Repair a verified behavior in freertos/freertos-kernel.
Repair a verified behavior in freertos/freertos-kernel.: a task in OriGent-SFT-Data (Harbor dataset). The FreeRTOS ThirdParty/GCC/Posix port treats any pthread that receives one of its signals or invokes one of its APIs as a pthread managed by that port. That assumption is invalid in an embedding…
The task
The FreeRTOS ThirdParty/GCC/Posix port treats any pthread that receives one of its signals or invokes one of its APIs as a pthread managed by that port. That assumption is invalid in an embedding process which starts the scheduler on one pthread and later calls `vTaskEndScheduler()` from another, unrelated pthread.
Part of henryen/OriGent-SFT-Data.