]> git.meshlink.io Git - meshlink/commitdiff
Use atomic operations to check whether to write to the signal pipe.
authorGuus Sliepen <guus@meshlink.io>
Thu, 11 Jun 2020 19:52:00 +0000 (21:52 +0200)
committerGuus Sliepen <guus@meshlink.io>
Thu, 11 Jun 2020 20:22:58 +0000 (22:22 +0200)
We need to do an atomic test-and-set operation to check whether we can
avoid writing to the signal pipe. Use C11 atomics to do this in a portable
way (hopefully).


No differences found