Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If you use a single-threaded spinner you don't need to use mutex because the callbacks will be called sequentially, therefore only one callback will be reading or writing the variable at a time.

You can read more about it here: