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=3.8 required=5.0 tests=BAYES_00,INVALID_MSGID, RATWARE_MS_HASH,RATWARE_OUTLOOK_NONAME autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9cb6352457d1c6de X-Google-Attributes: gid103376,public From: "David C. Hoos, Sr." Subject: Re: is there a 'wait' command in Ada Date: 1996/12/02 Message-ID: <01bbe046$710f9600$228371a5@dhoossr.iquest.com>#1/1 X-Deja-AN: 201852267 distribution: world references: <57qs45$d1l@felix.seas.gwu.edu> <57smdo$9qv@felix.seas.gwu.edu> content-type: text/plain; charset=ISO-8859-1 organization: DBH Enterprises, Inc. mime-version: 1.0 newsgroups: comp.lang.ada Date: 1996-12-02T00:00:00+00:00 List-Id: Hi Mike, Have you ever thought of using the UNIX select function to implement a "delay that doesn't burn CPU cycles or issue s shell command? All you need to do is set all three of the file descriptor mask addresses to null addresses, and point to a timeval structure initialized with the desired delay time, and the UNIX kernel will swap you out until the time has expired. Works like a champ! -- David C. Hoos, Sr., http://www.dbhwww.com http://www.ada95.com Michael Feldman wrote in article <57smdo$9qv@felix.seas.gwu.edu>... > In article , Robert Dewar wrote: > >michael feldman says > OK, you asked for it...:-) > > One would think that a simple delay followed by a Put would be platform- > independently portable, but in this case the devil turns out to be in > the details.:-) >