From: Archie Cobbs (archie@whistle.com)
Date: Mon Dec 14 1998 - 00:47:07 EST
Godmar Back writes:
> > >Just curious..
> > >I noticed awt/X/cbd.c has a call to sleep(3).. is this OK?
> >
> > I think so. This is a tentative (async) broadcast to external clients, to ask
> > if they support a certain format. Snce they might take all amount of time to
> > respond, waiting a sec (when the preferred format fails) seems to be fair.
>
> I think what Archie meant to say is whether you should call
> jthread_sleep(3000) instead. sleep(3) will
>
> a) block the whole process
> b) not work if other alarms are pending.
Maybe we should add a "sleep" to the SystemCallInterface structure.
The you could call KSLEEP().
-Archie
___________________________________________________________________________
Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com
This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:14 EDT