| 10478 | } |
| 10479 | |
| 10480 | static void *ossCallbackHandler(void *ptr) |
| 10481 | { |
| 10482 | CallbackInfo *info = (CallbackInfo *)ptr; |
| 10483 | RtApiOss *object = (RtApiOss *)info->object; |
| 10484 | bool *isRunning = &info->isRunning; |
| 10485 | |
| 10486 | while (*isRunning == true) |
| 10487 | { |
| 10488 | pthread_testcancel(); |
| 10489 | object->callbackEvent(); |
| 10490 | } |
| 10491 | |
| 10492 | pthread_exit(NULL); |
| 10493 | } |
| 10494 | |
| 10495 | //******************** End of __LINUX_OSS__ *********************// |
| 10496 | #endif |
nothing calls this directly
no test coverage detected