Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

panic in thread_invoke



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 | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.