8 May
2019
8 May
'19
9 a.m.
On Mon, May 06, 2019 at 11:58:13AM +0200, Jerome Brunet wrote:
Remove current_substream pointer and replace the exclusive locking mechanism with a simple variable and some atomic operations.
The advantage of mutexes is that they are very simple and clear to reason about. It is therefore unclear that this conversion to use atomic variables is an improvement, they're generally more complex to reason about and fragile.