macOS CFRunLoop Internals: Scheduling High-Precision Timers and Recurring Tasks(blog.meldstudio.co) |
macOS CFRunLoop Internals: Scheduling High-Precision Timers and Recurring Tasks(blog.meldstudio.co) |
The next post I have planned goes over how to use the CFRunLoop to post cross-thread tasks, and will include some benchmarks comparing with an alternative C++ lock-free SPSC task queue implementation.