Home
last modified time | relevance | path

Searched refs:runloop (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/SDL2/src/video/cocoa/
A DSDL_cocoamousetap.m42 CFRunLoopRef runloop; field
151 /* Try to create a runloop source we can schedule. */
170 tapdata->runloop = CFRunLoopGetCurrent();
171 CFRunLoopAddSource(tapdata->runloop, tapdata->runloopSource, kCFRunLoopCommonModes);
173 …/* We signal the runloop started semaphore *after* the run loop has started, indicating it's safe …
175 CFRunLoopAddTimer(tapdata->runloop, timer, kCFRunLoopCommonModes);
184 CFRunLoopRemoveSource(tapdata->runloop, tapdata->runloopSource, kCFRunLoopCommonModes);
247 /* Ensure that the runloop has been started first.
255 CFRunLoopStop(tapdata->runloop);
/AliOS-Things-master/components/SDL2/src/joystick/darwin/
A DSDL_sysjoystick.c608 CFRunLoopRef runloop = CFRunLoopGetCurrent(); in ConfigHIDManager() local
616 IOHIDManagerScheduleWithRunLoop(hidman, runloop, SDL_JOYSTICK_RUNLOOP_MODE); in ConfigHIDManager()

Completed in 6 milliseconds