Concurrence and mutual exclusion

Concurrence and mutual exclusion

von Roberto Parraguez S. -
Anzahl Antworten: 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.
Als Antwort auf Roberto Parraguez S.

Re: Concurrence and mutual exclusion

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