Uh oh!
There was an error while loading. Please reload this page.
Emulate flock() on Solaris via fcntl(). - #545
Conversation
This should resolve problem with Rust build: rust-lang/rust#103630
sunfishcode
commented
Feb 24, 2023
Unfortunately, Is the fd-lock crate the best place to implement this emulation? It might be. I wonder if it would make sense on Solaris to have fd-lock keep a static set of which files it has locked, so that a thread could check whether any other thread has a particular file locked before trying to acquire an |
sunfishcode
commented
Mar 2, 2023
Unfortunately I think this isn't the right approach for rustix; please file an issue in the fd-lock repo to discuss options there. |
sunfishcode
commented
Mar 4, 2023
I submitted a PR adding an |
This should resolve problem with Rust build:
rust-lang/rust#103630