jtux
Class UClock

java.lang.Object
  extended by jtux.UClock

public class UClock
extends java.lang.Object


Constructor Summary
UClock()
           
 
Method Summary
static int alarm(int secs)
          Calls alarm.
static void nanosleep(UProcess.s_timespec nsecs, UProcess.s_timespec remain)
          Calls nanosleep.
static int sleep(int secs)
          Calls sleep.
static void usleep(int usecs)
          Calls usleep.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UClock

public UClock()
Method Detail

alarm

public static int alarm(int secs)
Calls alarm.

Click here for Posix/SUS C API.


nanosleep

public static void nanosleep(UProcess.s_timespec nsecs,
                             UProcess.s_timespec remain)
                      throws UErrorException
Calls nanosleep.

Click here for Posix/SUS C API.

Throws:
UErrorException

sleep

public static int sleep(int secs)
Calls sleep.

Click here for Posix/SUS C API.


usleep

public static void usleep(int usecs)
                   throws UErrorException
Calls usleep.

Click here for Posix/SUS C API.

Throws:
UErrorException