mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-09 12:23:32 -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
|
let delete = ignore
|
||||||
|
|
||||||
(** NOTE: the mutex must be acquired *)
|
let wait self =
|
||||||
let wait self = Eio.Condition.await self.cond self.mutex
|
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 *)
|
(** Ensure we get signalled when the queue goes from empty to non-empty *)
|
||||||
let register_bounded_queue (self : t) (bq : _ Bounded_queue.t) : unit =
|
let register_bounded_queue (self : t) (bq : _ Bounded_queue.t) : unit =
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue