mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 20:07:55 -04:00
client eio: fixes
This commit is contained in:
parent
d49346c82c
commit
6e3f7e5dc2
1 changed files with 4 additions and 2 deletions
|
|
@ -50,8 +50,10 @@ struct
|
|||
|
||||
let delete = ignore
|
||||
|
||||
(** NOTE: the mutex must be acquired *)
|
||||
let wait self = Eio.Condition.await self.cond self.mutex
|
||||
let wait self =
|
||||
Eio.Mutex.lock self.mutex;
|
||||
Eio.Condition.await self.cond self.mutex;
|
||||
Eio.Mutex.unlock self.mutex
|
||||
|
||||
(** Ensure we get signalled when the queue goes from empty to non-empty *)
|
||||
let register_bounded_queue (self : t) (bq : _ Bounded_queue.t) : unit =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue