GLib.Thread – glib-2.0 Reference Manual
Packages
glib-2.0
GLib
Thread
@foreach
@yield
create
create_full
exit
self
supported
usleep
Thread
Thread.try
join
set_priority
Thread
Object Hierarchy:
Description:
[
Compact
]
public
class
Thread
<
T
>
Namespace:
GLib
Package:
glib-2.0
Content:
Static methods:
public
static
bool
supported
()
public
static
weak
Thread
<
T
>
create
<
T
> (
ThreadFunc
<
T
> func,
bool
joinable)
throws
ThreadError
public
static
weak
Thread
<
T
>
create_full
<
T
> (
ThreadFunc
<
T
> func,
ulong
stack_size,
bool
joinable,
bool
bound,
ThreadPriority
priority)
throws
ThreadError
public
static
weak
Thread
<
T
>
self
<
T
> ()
public
static
void
@yield
()
public
static
void
exit
(
T
retval)
public
static
void
@foreach
(
Func
<
Thread
> thread_func)
public
static
void
usleep
(
ulong
microseconds)
Creation methods:
public
Thread
(
string
? name,
ThreadFunc
<
T
> func)
public
Thread.try
(
string
? name,
ThreadFunc
<
T
> func)
throws
Error
Methods:
public
T
join
()
public
void
set_priority
(
ThreadPriority
priority)