Hi, I am having a problem with my kext keep panicing in thread_invoke(). The exact error message is panic: thread_invoke: preemption_level 1 In my code, I have a function which already hold a network funnel, then enter this while loop in which it will sleep until an event happen and spawn a new thread to handle some computation. The new thread will also try to grab the network_funnel and will release it when it returns. My kext kept panicing on the second loop, after it spawns a new thread and sleep again waiting for an event to happen. Does anyone ever comes across this issue before?? Thanks for your help. Regards, Herry Wiputra _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Herry Wiputra