[Openmp-commits] [libc] [llvm] [openmp] [libc] Replace RPC 'close()' mechanism with RAII handler (PR #181690)
Jon Chesterfield via Openmp-commits
openmp-commits at lists.llvm.org
Mon Feb 16 07:44:49 PST 2026
https://github.com/JonChesterfield approved this pull request.
Explicit close means you can use the typestate implemention to get compile time guarantees on linear treatment of the ports. I.e. if it compiles, it can't deadlock and can't leak.
Typestate use didn't make it into trunk so none of those properties are here and raii the close is fine.
https://github.com/llvm/llvm-project/pull/181690
More information about the Openmp-commits
mailing list