glib-2.0 Reference Manual

Synopsis

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 ) ;
}

Thread Description

Details

Constructor Details

Field Details

Signal Details

Property Details

Method Details

init ()
    public    static void               init                      ( ThreadFunctions?    vtable = null ) ;		

supported ()
    public    static bool               supported                 (  ) ;		

create ()
    public    static weak Thread        create                    ( ThreadFunc          func,
                                                                    bool                joinable ) 
                                                             throws ThreadError;		

create_full ()
    public    static weak Thread        create_full               ( ThreadFunc          func,
                                                                    ulong               stack_size,
                                                                    bool                joinable,
                                                                    bool                bound,
                                                                    ThreadPriority      priority ) 
                                                             throws ThreadError;		

self ()
    public    static weak Thread        self                      (  ) ;		

join ()
    public    void**                    join                      (  ) ;		

set_priority ()
    public    void                      set_priority              ( ThreadPriority      priority ) ;		

yield ()
    public    static void               yield                     (  ) ;		

exit ()
    public    static void               exit                      ( void**              retval ) ;		

foreach ()
    public    static void               foreach                   ( Func                thread_func ) ;		

usleep ()
    public    static void               usleep                    ( ulong               microseconds ) ;		


Created by Valadoc