Concurrence and mutual exclusion

Concurrence and mutual exclusion

de Roberto Parraguez S. -
Número de respuestas: 1
hi, i´m Roberto Parraguez, from Chile. In this moment i´m working in a new module for moodle, surveyClient module. i need to know how moodle it controls the concurrence and mutual exclusion and if my module need to control that or moodle make the control of that.

Thanks.
Promedio de valoraciones: -
En respuesta a Roberto Parraguez S.

Re: Concurrence and mutual exclusion

de Samuli Karevaara -
Which part of Moodle are you viewing as the "critical section" to be protected with mutual exclusion?

DB read/write concurrency is handled by the DB itself. (That doesn't mean that batches of DB writes are atomic.)