GLib.AsyncQueue – glib-2.0 Reference Manual
Packages
glib-2.0
GLib
AsyncQueue
AsyncQueue
@lock
length
length_unlocked
pop
pop_unlocked
push
push_front
push_front_unlocked
push_sorted
push_sorted_unlocked
push_unlocked
ref_unlocked
remove
remove_unlocked
sort
sort_unlocked
timed_pop
timed_pop_unlocked
timeout_pop
timeout_pop_unlocked
try_pop
try_pop_unlocked
unlock
unref_and_unlock
AsyncQueue
Object Hierarchy:
Description:
[
Compact
]
public
class
AsyncQueue
<
G
>
Namespace:
GLib
Package:
glib-2.0
Content:
Creation methods:
public
AsyncQueue
()
Methods:
public
void
push
(
owned
G
data)
public
void
push_sorted
(
owned
G
data,
CompareDataFunc
<
G
> func)
public
G
pop
()
public
G
try_pop
()
public
G
timed_pop
(
ref
TimeVal
end_time)
public
int
length
()
public
void
sort
(
CompareDataFunc
<
G
> func)
public
void
@lock
()
public
void
unlock
()
public
void
ref_unlocked
()
public
void
unref_and_unlock
()
public
void
push_front
(
owned
G
data)
public
void
push_front_unlocked
(
owned
G
data)
public
void
push_unlocked
(
owned
G
data)
public
void
push_sorted_unlocked
(
owned
G
data,
CompareDataFunc
<
G
> func)
public
G
pop_unlocked
()
public
bool
remove
(
G
data)
public
bool
remove_unlocked
(
G
data)
public
G
try_pop_unlocked
()
public
G
timed_pop_unlocked
(
ref
TimeVal
end_time)
public
G
timeout_pop
(
uint64
timeout)
public
G
timeout_pop_unlocked
(
uint64
timeout)
public
int
length_unlocked
()
public
void
sort_unlocked
(
CompareDataFunc
<
G
> func)