We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8862cfc commit c9ec87bCopy full SHA for c9ec87b
ocaml/database/db_lock.ml
@@ -79,9 +79,11 @@ module ReentrantLock : REENTRANT_LOCK = struct
79
80
let current_tid () = Thread.(self () |> id)
81
82
- let[@inline never] [@specialize never] lock_acquired () = ()
+ let[@inline never] [@specialize never] lock_acquired () =
83
+ Xapi_timeslice.Timeslice.lock_acquired ()
84
- let[@inline never] [@specialize never] lock_released () = ()
85
+ let[@inline never] [@specialize never] lock_released () =
86
+ Xapi_timeslice.Timeslice.lock_released ()
87
88
let lock l =
89
let me = current_tid () in
ocaml/database/dune
@@ -48,6 +48,7 @@
48
xapi-stdext-std
49
xapi-stdext-threads
50
xapi-stdext-unix
51
+ xapi_timeslice
52
xml-light2
53
xmlm
54
)
0 commit comments