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.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: border2.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: Termination of tasks waiting on a protected queue Date: Sun, 18 May 2014 11:48:16 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <3ab5fcf0-d2a8-4c82-ab51-02b829aebcaa@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 18 May 2014 18:48:18 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="42ea65963a295dd28559459f9f96c6a5"; logging-data="31135"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18R23opBKGlFgswnCGnH6r4TJj8x23blLA=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: <3ab5fcf0-d2a8-4c82-ab51-02b829aebcaa@googlegroups.com> Cancel-Lock: sha1:RsVdH4V1p0mwPbJ7+UwhP+Rs7Ew= X-Original-Bytes: 1903 Xref: number.nntp.dca.giganews.com comp.lang.ada:186467 Date: 2014-05-18T11:48:16-07:00 List-Id: On 05/18/2014 11:42 AM, sbelmont700@gmail.com wrote: > > It has always seemed strange that Ada doesn't seem to have a way to block on > multiple entries, in line with posix select() or waitformultipleobjects. I'd > be happy with even just a function that can wait on an array of suspension > objects. select Entry1; then abort Entry2; end select; -- Jeff Carter "If I could find a sheriff who so offends the citizens of Rock Ridge that his very appearance would drive them out of town ... but where would I find such a man? Why am I asking you?" Blazing Saddles 37