Gee.HazardPointer

Fields

None

Methods

class

compare_and_exchange_pointer (g_type, g_dup_func, g_destroy_func, aptr, old_ptr, _new_ptr, mask, old_mask, new_mask)

class

exchange_hazard_pointer (g_type, g_dup_func, g_destroy_func, aptr, new_ptr, mask, new_mask)

class

exchange_pointer (g_type, g_dup_func, g_destroy_func, aptr, new_ptr, mask, new_mask)

class

get_hazard_pointer (g_type, g_dup_func, g_destroy_func, aptr, mask)

class

get_pointer (g_type, g_dup_func, g_destroy_func, aptr, mask)

class

new (g_type, g_dup_func, g_destroy_func, ptr)

class

set_default_policy (policy)

class

set_pointer (g_type, g_dup_func, g_destroy_func, aptr, new_ptr, mask, new_mask)

class

set_release_policy (policy)

class

set_thread_exit_policy (policy)

get (other_thread)

release (notify)

Details

class Gee.HazardPointer
classmethod compare_and_exchange_pointer(g_type, g_dup_func, g_destroy_func, aptr, old_ptr, _new_ptr, mask, old_mask, new_mask)
Parameters:
Return type:

bool

classmethod exchange_hazard_pointer(g_type, g_dup_func, g_destroy_func, aptr, new_ptr, mask, new_mask)
Parameters:
Return type:

(Gee.HazardPointer or None, old_mask: int)

classmethod exchange_pointer(g_type, g_dup_func, g_destroy_func, aptr, new_ptr, mask, new_mask)
Parameters:
Return type:

(object or None, old_mask: int)

classmethod get_hazard_pointer(g_type, g_dup_func, g_destroy_func, aptr, mask)
Parameters:
Return type:

(Gee.HazardPointer or None, mask_out: int)

classmethod get_pointer(g_type, g_dup_func, g_destroy_func, aptr, mask)
Parameters:
Return type:

(object or None, mask_out: int)

classmethod new(g_type, g_dup_func, g_destroy_func, ptr)
Parameters:
Return type:

Gee.HazardPointer

classmethod set_default_policy(policy)
Parameters:

policy (Gee.HazardPointerPolicy) –

classmethod set_pointer(g_type, g_dup_func, g_destroy_func, aptr, new_ptr, mask, new_mask)
Parameters:
classmethod set_release_policy(policy)
Parameters:

policy (Gee.HazardPointerReleasePolicy) –

Return type:

bool

classmethod set_thread_exit_policy(policy)
Parameters:

policy (Gee.HazardPointerPolicy) –

get(other_thread)
Parameters:

other_thread (bool) –

Return type:

object or None

release(notify)
Parameters:

notify (GLib.DestroyNotify) –