* task or thread clean up
@ 1994-08-29 16:16 Duncan Idaho
1994-08-30 15:16 ` Michael I Bushnell
0 siblings, 1 reply; 2+ messages in thread
From: Duncan Idaho @ 1994-08-29 16:16 UTC (permalink / raw)
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.
- D
--
____________________________________________________________________________
There are "three absolute rights [sic] the right of personal security, personal
liberty and personal property," Sir William Blackstone. "The protection of
these faculties is the first object of government." Madison, Federalist 10.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: task or thread clean up
1994-08-29 16:16 task or thread clean up Duncan Idaho
@ 1994-08-30 15:16 ` Michael I Bushnell
0 siblings, 0 replies; 2+ messages in thread
From: Michael I Bushnell @ 1994-08-30 15:16 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-08-30 15:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-08-29 16:16 task or thread clean up Duncan Idaho
1994-08-30 15:16 ` Michael I Bushnell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox