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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2d2df3e9ad18fa63 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-21 23:44:10 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.uni2.dk!news.get2net.dk.POSTED!53ab2750!not-for-mail Sender: malo@niflheim.malonet Newsgroups: comp.lang.ada Subject: Re: ISO/IEC 14519 - Ada POSIX binding References: <3EF2F6B8.3030706@noplace.com> <3EF44B79.2000407@noplace.com> From: Mark Lorenzen Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: 22 Jun 2003 10:47:46 +0200 NNTP-Posting-Host: 62.84.221.216 X-Complaints-To: abuse@colt-telecom.dk X-Trace: news.get2net.dk 1056264249 62.84.221.216 (Sun, 22 Jun 2003 08:44:09 CEST) NNTP-Posting-Date: Sun, 22 Jun 2003 08:44:09 CEST Organization: Colt Telecom Kunde Xref: archiver1.google.com comp.lang.ada:39555 Date: 2003-06-22T10:47:46+02:00 List-Id: Kilgallen@SpamCop.net (Larry Kilgallen) writes: > In article , Ludovic Brenta writes: > > > As noted elsewhere in this thread, POSIX.5 uses an exception > > (Posix.Posix_Error) to report that an error occurred, and an > > "errno"-like variable to specify what kind of error occurred. Thanks > > to the exception, a lot of the ugliness goes away, and thanks to the > > variable, it is easier to add new error codes to POSIX.5 without > > breaking existing apps. > > Is that variable specific to a single task ? > > How does one accomplish that without declaring it within the task ? > > If it is not specific to a single task, how does one avoid conflict > between tasks on simultaneous errors ? It is specific to a single task, just like it is specific to a C thread. - Mark