Re: cbd.c

Date view Thread view Subject view Author view

From: Godmar Back (gback@cs.utah.edu)
Date: Sun Dec 13 1998 - 11:50:35 EST


>
> >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.

        - Godmar


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:13 EDT