From: Jeffrey Carter <spam@spam.com>
Subject: Re: Resolving a deadlock
Date: Wed, 25 Aug 2004 00:45:59 GMT
Date: 2004-08-25T00:45:59+00:00 [thread overview]
Message-ID: <bjRWc.12259$3O3.2133@newsread2.news.pas.earthlink.net> (raw)
In-Reply-To: <e9d66b16.0408241628.2a989c40@posting.google.com>
Daniel Wild wrote:
>
> Task A is calling an entry in Task B to tell it to shut down, but
> Task B is calling an entry in Task A to pass it some data.
The simple solution is to put a protected object between the 2 tasks.
That way B can get either the shut down indication or the data from a
single call.
--
Jeff Carter
"I wave my private parts at your aunties."
Monty Python & the Holy Grail
13
prev parent reply other threads:[~2004-08-25 0:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-25 0:28 Resolving a deadlock Daniel Wild
2004-08-25 0:45 ` Jeffrey Carter [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox