SmartSockets .NET Class Library

Tut.sleep Method 

Sleeps for a period of time.

This is a replacement for Thread.sleep(), which avoids a known problem with priorities and network connections, that makes Thread.sleep() hang a process forever. This method also follows the SmartSockets convention of using a double time in seconds, rather than a long in milliseconds.

public static void sleep(
   double t
);

Parameters

t
time to sleep (in seconds).

See Also

Tut Class | Tut Members | TIBCO.SMARTSOCKETS Namespace


Copyright © TIBCO Software Inc. All rights reserved