Stubbington, R., Sarremejane, R., Laini, A., Cid, N., Csabai, Z., England, J., Munné, A., Aspin, T., Bonada, N., Bruno, D., Cauvy‐Fraunie, S., Chadd, R., Dienstl, C., Estrada, P.F., Graf, W., Gutiérrez‐Cánovas, C., House, A., Karaouzas, I., Kazila, E., Millán, A., Morais, M., Pařil, P., Pickwell, A., Polášek, M., Sánchez‐Fernández, D., Tziortzis, I., Várbíró, G., Voreadou, C., Walker‐Holden, E., White, J., Datry, T. (2021) Disentangling responses to natural stressor and human impact gradients in river ecosystems across Europe. Journal of Applied Ecology, 59(2), 537–548.
The rules are simple: *never* ever use sync primitives that involve system calls It includes mutexes, futexts, semaphores and alike Want to synchronise – spin on an atomic But for most cases you just should not synchronise at all It’s easy