[Q] how to sleep(1)

Stephan B. Wessels swessels at one.net
Sun Apr 28 19:12:27 UTC 2002


How about

    [(Delay forSeconds: 2) wait. Smalltalk beep] fork

You can also use forkAt: for priority setting of your forked task.

 - steve

On 4/28/02 8:07 AM, "Martin Drautzburg" <martin.drautzburg at web.de> wrote:

> What is the easiest way to put off a certain action while still
> processing input events ?
> 
> Something like 
>       (sleep 1; do_something)&
> in bash or an 
>       after 1000
> in TCL.
> 
> 




More information about the Squeak-dev mailing list