Showing posts with label kernel. Show all posts
Showing posts with label kernel. Show all posts

Saturday, January 30, 2016

Creating a one-off thread in IOKit with the kernel_thread_start function

Running a one-off thread inside an IOKit driver or OS X kernel extension is super easy. In most cases it is not necessary to create and manage thread_call_t objects. Here is an example: