Re: termination question
Andreas Unterkircher <[email protected]> Wed, 22 Nov 2006 09:38:39 +0100
| Newsgroups | gmane.comp.java.smartfrog.user |
|---|---|
| Organization | CERN |
| Message-ID | <[email protected]> |
Hi Ritu,
termination means calling the sfTerminate method, I think. So if A has
some lock variable that would cause sfTerminate to just wait until the
task caused by the event is finished, this would cause SF to "wait" with
termination of A ?
Best regards,
Andreas
Ritu Sabharwal wrote:
> Hi Andreas,
>
> In case of Compound, if any child terminates it notifies the parent
> which in turn terminates all other children and then itself. So in your
> case, SF will not wait for A to finish its task, it will terminate it
> immediately as soon as B terminates.
>
> Thanks & Regards,
> Ritu.
>
> Andreas Unterkircher wrote:
>
>> Hello,
>>
>> I have a question concerning termination. Suppose I have a compound
>> containing 2 components:
>>
>> Compound {
>> A;
>> B; }
>>
>> A extends EventCompoundImpl. B terminates and in its sfTerminate
>> method it sends an event to A which causes A to do some task that
>> take some time. If B terminates, what happens to A ? Would SF wait
>> until A finishes the task triggered by B's message ? Or would it just
>> terminate A ?
>>
>> Thanks,
>> Andreas
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to
>> share your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Smartfrog-support mailing list
>> Smartfrog-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>> https://lists.sourceforge.net/lists/listinfo/smartfrog-support
>>
>>
>
>
--
Andreas Unterkircher
IT Department
Grid Deployment Group
CERN
CH-1211 Geneva 23
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV