Mercurial > public > mercurial-scm > hg
diff rust/chg/src/lib.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 | 74da9d999cd7 |
children | bb936e25a84a |