2 ms·
The semantics described in the article go further than a single mutex, so they can't use just pthread or just flock. I wonder if using a pthread mutex in share
by remram 6y ago
The semantics described in the article go further than a single mutex, so they can't use just pthread or just flock.
I wonder if using a pthread mutex in shared memory is faster than flock'ing the file (I'd assume yes, though I don't know if significant).