public class Thread {
public static void init ( ThreadFunctions? vtable = null ) ;
public static bool supported ( ) ;
public static weak Thread create ( ThreadFunc func,
bool joinable )
throws ThreadError;
public static weak Thread create_full ( ThreadFunc func,
ulong stack_size,
bool joinable,
bool bound,
ThreadPriority priority )
throws ThreadError;
public static weak Thread self ( ) ;
public void** join ( ) ;
public void set_priority ( ThreadPriority priority ) ;
public static void yield ( ) ;
public static void exit ( void** retval ) ;
public static void foreach ( Func thread_func ) ;
public static void usleep ( ulong microseconds ) ;
}

public static void init ( ThreadFunctions? vtable = null ) ;
public static bool supported ( ) ;
public static weak Thread create ( ThreadFunc func,
bool joinable )
throws ThreadError;
public static weak Thread create_full ( ThreadFunc func,
ulong stack_size,
bool joinable,
bool bound,
ThreadPriority priority )
throws ThreadError;
public static weak Thread self ( ) ;
public void** join ( ) ;
public void set_priority ( ThreadPriority priority ) ;
public static void yield ( ) ;
public static void exit ( void** retval ) ;
public static void foreach ( Func thread_func ) ;
public static void usleep ( ulong microseconds ) ;
Created by Valadoc