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,a0224dc3d1e52f3d X-Google-Attributes: gid103376,public From: robert_dewar@my-dejanews.com Subject: Re: Streams and Concurrency Date: 1998/12/31 Message-ID: <76g9jh$us1$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 427473552 References: <76dhm3$rkq$1@nnrp1.dejanews.com> <76g0nu$nsq$1@nnrp1.dejanews.com> X-Http-Proxy: 1.0 x1.dejanews.com:80 (Squid/1.1.22) for client 166.72.71.89 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Thu Dec 31 16:43:29 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1998-12-31T00:00:00+00:00 List-Id: In article <76g0nu$nsq$1@nnrp1.dejanews.com>, dennison@telepath.com wrote: > "Special" perhaps, but not all that odd. It can occur in > *any* tasking program. In my 10 years of Ada use I've > only worked on two programs that had no tasks. It doesn't > take a multiprocessor to cause a task switch in the > middle of a non-blocking operation. If you have tasks > with different priorites it can happen. If your > scheduling policy supports any kind of time slicing it > can happen. Plus if the stream's Write procedure performs > any I/O, its possible that a 'Write itself is a blocking > operation. Note that of course if you have protected objects, it is not generally possible for a higher priority task to interrupt in a problematic way, that is what ceiling priorities are all about. And of course with FIFO_Within_Priorities, time slicing is forbidden for very good reasons! -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own