From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,9d5c02ca2b60b659 X-Google-Attributes: gidfee84,public X-Google-Thread: f66ab,9d5c02ca2b60b659 X-Google-Attributes: gidf66ab,public X-Google-ArrivalTime: 1994-08-30 09:24:00 PST Path: bga.com!news.sprintlink.net!uunet!MathWorks.Com!news.kei.com!bloom-beacon.mit.edu!ai-lab!life.ai.mit.edu!mib From: mib@geech.gnu.ai.mit.edu (Michael I Bushnell) Newsgroups: comp.os.mach,comp.unix.osf.osf1 Subject: Re: task or thread clean up Date: 30 Aug 1994 15:16:11 GMT Organization: Touring Consulting Services Message-ID: References: <33t1kb$lf9@edwin.bga.com> NNTP-Posting-Host: geech.gnu.ai.mit.edu In-reply-to: devil@bga.com's message of 29 Aug 1994 11:16:11 -0500 Xref: bga.com comp.os.mach:765 comp.unix.osf.osf1:3273 In article <33t1kb$lf9@edwin.bga.com> devil@bga.com (Duncan Idaho) writes: In mach 3.x, when a thread or task dies, can you add a clean up routine? I have two threads/tasks cooperating with one of a variety of IPC mechanisms. I don't want to poll for the death of a peer, but if I have too, I'd like a definitive no doubt about it message awaiting me on the surviving thread's port. When a task or thread dies, you'll get a dead-name notification for its kernel port, if you've requested one with mach_port_request_notification. -- +1 617 623 3248 (H) | The soul of Jonathan was bound to the soul of David, +1 617 253 8568 (W) -+- and Jonathan loved him as his own soul. 1105 Broadway | Then Jonathan made a covenant with David Somerville, MA 02144 | because he loved him as his own soul.