1CamlinternalAtomic(3) OCaml library CamlinternalAtomic(3)
2
3
4
6 CamlinternalAtomic - no description
7
9 Module CamlinternalAtomic
10
12 Module CamlinternalAtomic
13 : sig end
14
15
16
17
18
19
20
21 type 'a t
22
23
24
25
26
27 val make : 'a -> 'a t
28
29
30
31
32 val get : 'a t -> 'a
33
34
35
36
37 val set : 'a t -> 'a -> unit
38
39
40
41
42 val exchange : 'a t -> 'a -> 'a
43
44
45
46
47 val compare_and_set : 'a t -> 'a -> 'a -> bool
48
49
50
51
52 val fetch_and_add : int t -> int -> int
53
54
55
56
57 val incr : int t -> unit
58
59
60
61
62 val decr : int t -> unit
63
64
65
66
67
68
69OCamldoc 2021-07-22 CamlinternalAtomic(3)