Concurrence and mutual exclusion

Concurrence and mutual exclusion

par Roberto Parraguez S.,
Nombre de réponses : 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.
Moyenne des évaluations  -
En réponse à Roberto Parraguez S.

Re: Concurrence and mutual exclusion

par 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.)