From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e2e6547249e6f9d1 X-Google-Attributes: gid103376,public From: Samuel Tardieu Subject: Re: How to wait for task completion Date: 1996/09/15 Message-ID: #1/1 X-Deja-AN: 180768808 sender: tardieu@gargantua.enst.fr references: <01bba2e8$c45aad90$35208b82@wd> to: "wiljan" content-type: text/plain; charset=iso-8859-1 organization: TELECOM Paris mime-version: 1.0 newsgroups: comp.lang.ada Date: 1996-09-15T00:00:00+00:00 List-Id: >>>>> "Wiljan" == wiljan writes: Wiljan> Is there a simply way to wait until a task has completed in Wiljan> Ada? Assuming you are referring to Ada 95, you may well associate a protected type with each task which will have two entries: one called by the task just before it dies, the other one blocking until the first one is called (and non-blocking if the first entry has already been called). Sam -- Samuel Tardieu -- sam@ada.eu.org