MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / ossCallbackHandler

Function ossCallbackHandler

examples/TinyAudio/RtAudio.cpp:10480–10493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10478}
10479
10480static 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

Callers

nothing calls this directly

Calls 1

callbackEventMethod · 0.80

Tested by

no test coverage detected