Hazard
Pointer
constructor
node
name
get
release
compare
And
Exchange
Pointer
exchange
Hazard
Pointer
exchange
Pointer
get
Hazard
Pointer
get
Pointer
new
set
Default
Policy
set
Pointer
set
Release
Policy
set
Thread
Exit
Policy
NODE-GTK API Reference
Gee-0.8
Gee
HazardPointer
Class HazardPointer
Hierarchy
HazardPointer
Index
Constructors
constructor
Properties
node
name
Methods
get
release
compare
And
Exchange
Pointer
exchange
Hazard
Pointer
exchange
Pointer
get
Hazard
Pointer
get
Pointer
new
set
Default
Policy
set
Pointer
set
Release
Policy
set
Thread
Exit
Policy
Constructors
constructor
new
Hazard
Pointer
(
gType
:
GType
<
unknown
>
, gDupFunc
:
BoxedCopyFunc
, gDestroyFunc
:
GLib
.
DestroyNotify
, ptr
:
object
)
:
HazardPointer
Parameters
gType:
GType
<
unknown
>
gDupFunc:
BoxedCopyFunc
gDestroyFunc:
GLib
.
DestroyNotify
ptr:
object
Returns
HazardPointer
Properties
node
node
:
any
Static
name
name
:
string
Methods
get
get
(
otherThread
:
boolean
)
:
object
Parameters
otherThread:
boolean
Returns
object
release
release
(
notify
:
GLib
.
DestroyNotify
)
:
void
Parameters
notify:
GLib
.
DestroyNotify
Returns
void
Static
compare
And
Exchange
Pointer
compare
And
Exchange
Pointer
(
gType
:
GType
<
unknown
>
, gDupFunc
:
BoxedCopyFunc
, gDestroyFunc
:
GLib
.
DestroyNotify
, aptr
:
object
, oldPtr
:
object
, newPtr
:
object
, mask
:
number
, oldMask
:
number
, newMask
:
number
)
:
boolean
Parameters
gType:
GType
<
unknown
>
gDupFunc:
BoxedCopyFunc
gDestroyFunc:
GLib
.
DestroyNotify
aptr:
object
oldPtr:
object
newPtr:
object
mask:
number
oldMask:
number
newMask:
number
Returns
boolean
Static
exchange
Hazard
Pointer
exchange
Hazard
Pointer
(
gType
:
GType
<
unknown
>
, gDupFunc
:
BoxedCopyFunc
, gDestroyFunc
:
GLib
.
DestroyNotify
, aptr
:
object
, newPtr
:
object
, mask
:
number
, newMask
:
number
)
:
[
HazardPointer
,
number
]
Parameters
gType:
GType
<
unknown
>
gDupFunc:
BoxedCopyFunc
gDestroyFunc:
GLib
.
DestroyNotify
aptr:
object
newPtr:
object
mask:
number
newMask:
number
Returns
[
HazardPointer
,
number
]
Static
exchange
Pointer
exchange
Pointer
(
gType
:
GType
<
unknown
>
, gDupFunc
:
BoxedCopyFunc
, gDestroyFunc
:
GLib
.
DestroyNotify
, aptr
:
object
, newPtr
:
object
, mask
:
number
, newMask
:
number
)
:
[
object
,
number
]
Parameters
gType:
GType
<
unknown
>
gDupFunc:
BoxedCopyFunc
gDestroyFunc:
GLib
.
DestroyNotify
aptr:
object
newPtr:
object
mask:
number
newMask:
number
Returns
[
object
,
number
]
Static
get
Hazard
Pointer
get
Hazard
Pointer
(
gType
:
GType
<
unknown
>
, gDupFunc
:
BoxedCopyFunc
, gDestroyFunc
:
GLib
.
DestroyNotify
, aptr
:
object
, mask
:
number
)
:
[
HazardPointer
,
number
]
Parameters
gType:
GType
<
unknown
>
gDupFunc:
BoxedCopyFunc
gDestroyFunc:
GLib
.
DestroyNotify
aptr:
object
mask:
number
Returns
[
HazardPointer
,
number
]
Static
get
Pointer
get
Pointer
(
gType
:
GType
<
unknown
>
, gDupFunc
:
BoxedCopyFunc
, gDestroyFunc
:
GLib
.
DestroyNotify
, aptr
:
object
, mask
:
number
)
:
[
object
,
number
]
Parameters
gType:
GType
<
unknown
>
gDupFunc:
BoxedCopyFunc
gDestroyFunc:
GLib
.
DestroyNotify
aptr:
object
mask:
number
Returns
[
object
,
number
]
Static
new
new
(
gType
:
GType
<
unknown
>
, gDupFunc
:
BoxedCopyFunc
, gDestroyFunc
:
GLib
.
DestroyNotify
, ptr
:
object
)
:
HazardPointer
Parameters
gType:
GType
<
unknown
>
gDupFunc:
BoxedCopyFunc
gDestroyFunc:
GLib
.
DestroyNotify
ptr:
object
Returns
HazardPointer
Static
set
Default
Policy
set
Default
Policy
(
policy
:
HazardPointerPolicy
)
:
void
Parameters
policy:
HazardPointerPolicy
Returns
void
Static
set
Pointer
set
Pointer
(
gType
:
GType
<
unknown
>
, gDupFunc
:
BoxedCopyFunc
, gDestroyFunc
:
GLib
.
DestroyNotify
, aptr
:
object
, newPtr
:
object
, mask
:
number
, newMask
:
number
)
:
void
Parameters
gType:
GType
<
unknown
>
gDupFunc:
BoxedCopyFunc
gDestroyFunc:
GLib
.
DestroyNotify
aptr:
object
newPtr:
object
mask:
number
newMask:
number
Returns
void
Static
set
Release
Policy
set
Release
Policy
(
policy
:
HazardPointerReleasePolicy
)
:
boolean
Parameters
policy:
HazardPointerReleasePolicy
Returns
boolean
Static
set
Thread
Exit
Policy
set
Thread
Exit
Policy
(
policy
:
HazardPointerPolicy
)
:
void
Parameters
policy:
HazardPointerPolicy
Returns
void
Hazard
Pointer
constructor
node
name
get
release
compare
And
Exchange
Pointer
exchange
Hazard
Pointer
exchange
Pointer
get
Hazard
Pointer
get
Pointer
new
set
Default
Policy
set
Pointer
set
Release
Policy
set
Thread
Exit
Policy
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHZWVfMF84LkdlZS5IYXphcmRQb2ludGVyLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHZWVfMF84LkdlZS5IYXphcmRQb2ludGVyLmh0bWwjbm9kZSIsIm5hbWUiOiJub2RlIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ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