site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com [For the benefit of your fellow list subscribers, please: b) use meaningful subject lines, especially when replying to digest emails. TIA Quinn] S+E -- Quinn "The Eskimo!" <http://www.apple.com/developer/> Apple Developer Technical Support * Networking, Communications, Hardware _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... a) create a new email when starting a new thread, rather than replying to an existing one, and At 16:15 -0500 1/3/05, Eric Masson wrote: I have a character device that holds a mach-style semaphore. Most of the time it is down so my user side program reading from it will block. I have an interesting problem in that when I plug and unplug my ethernet cable my semaphores get released with a code 37. Any advise on why the mach kernel would be releasing my semaphores on such an event? Error 37 is KERN_TERMINATED. The most likely reason for this error is that the semaphore has been destroyed. The most likely reason for that is that the task that owns the semaphore has terminated. I'd need to know more about your architecture before I could speculate further. Who opened the character device? How did you just create the semaphore? This email sent to site_archiver@lists.apple.com