1. RE: sleep()
Robert Craig wrote:
> Kat writes:
>
> > The help file doesn't say sleep(0) is valid, or what it would do
>
> Sorry, my WATCOM manual doesn't say what sleep(0) will do.
> If it's calling the WIN32 API sleep(), then another task might
> be scheduled at this point.
>
> Regards,
> Rob Craig
> Rapid Deployment Software
> http://www.RapidEuphoria.com
>
>
>
Because win32 applications communicate via messages it
would just place a message in the message Que. I don't
think win32 can interrupt another application or
process messages on a priority basis.
Bernie
2. RE: sleep()
> From: Bernie Ryan [mailto:xotron at bluefrognet.net]
> If a thread relinquishs the remainder of its time slice to
> any other thread, and you are not capable of using threads
> in Euphoria; then why are using the sleep() ??
It's not necessarily a thread from the same process.
Matt Lewis
3. RE: sleep()
- Posted by gertie at visionsix.com
Jun 13, 2003
On 13 Jun 2003, at 10:43, Matt Lewis wrote:
>
>
> > From: Bernie Ryan [mailto:xotron at bluefrognet.net]
>
> > If a thread relinquishs the remainder of its time slice to
> > any other thread, and you are not capable of using threads
> > in Euphoria; then why are using the sleep() ??
>
> It's not necessarily a thread from the same process.
Correct, it's the next item in the task scheduler. It could be a thread from
that same process, or another process.
Kat