The unpac monorepo manager self-hosting as a monorepo using unpac
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #754 from talex5/quiet-tsan

eio_linux: avoid triggering a TSan warning

authored by

Thomas Leonard and committed by
GitHub
a4e7c5ec 11bbc0b0

+4 -1
+4 -1
vendor/opam/eio/lib_eio_linux/sched.ml
··· 521 521 Uring.exit uring; 522 522 fallback (`Msg "Linux >= 5.15 is required for io_uring support") 523 523 ) else ( 524 - statx_works := Uring.op_supported probe Uring.Op.msg_ring; 524 + (* The reason for an if here is to make sure we only set it once, when 525 + the first domain is starting. This is just to avoid a tsan warning. *) 526 + if not !statx_works && Uring.op_supported probe Uring.Op.msg_ring then 527 + statx_works := true; 525 528 match 526 529 let mem = 527 530 let fixed_buf_len = block_size * n_blocks in