[CCode (ref_function = "g_thread_ref", unref_function = "g_thread_unref")]
#endif
public class Thread<T> {
+ public Thread (string? name, ThreadFunc<T> func);
+ [CCode (cname = "g_thread_try_new")]
+ public Thread.try (string? name, ThreadFunc<T> func) throws GLib.Error;
public static bool supported ();
+ [Deprecated (since = "2.32", replacement = "new Thread<T> ()")]
[CCode (simple_generics = true)]
public static unowned Thread<T> create<T> (ThreadFunc<T> func, bool joinable) throws ThreadError;
+ [Deprecated (since = "2.32", replacement = "new Thread<T> ()")]
[CCode (simple_generics = true)]
public static unowned Thread<T> create_full<T> (ThreadFunc<T> func, ulong stack_size, bool joinable, bool bound, ThreadPriority priority) throws ThreadError;
[CCode (simple_generics = true)]