Mailing Lists: Apple Mailing Lists

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

Re: Alternative "dead port listener" implementations under intel?



kqueue. Use EVFILT_PROC.

davez


On Feb 15, 2006, at 2:39 PM, Jeffrey Johnson wrote:

Hello,

Now that the use of task_for_pid() on intel boxes has been tightened to use by root or processes belonging to procmod:
<http://developer.apple.com/documentation/MacOSX/Conceptual/universal_binary/index.html#//apple_ref/doc/uid/TP40002217 >


those of us relying on the helpful snippet in TN2050 have been chopped off at the knees. Does anyone have a workaround for getting notified when a process terminates without resorting to polling? (I only care about processes owned by my UID.)


Thanks Jeffrey Johnson Macintosh Development Wavefunction, Inc. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >Alternative "dead port listener" implementations under intel? (From: Jeffrey Johnson <email@hidden>)



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.