Mercurial > public > mercurial-scm > hg
diff rust/chg/src/message.rs @ 40120:89742f1fa6cb
rust-chg: install signal handlers to forward signals to server
I use sync::Once as a synchronization primitive because it's quite easy
to use, and is good enough to prevent data race in these C functions.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Tue, 25 Sep 2018 20:55:03 +0900 |
parents | b1d8acd82d60 |
children | ce088b38f92b |