Concurrence and mutual exclusion

Concurrence and mutual exclusion

by Roberto Parraguez S. -
Number of replies: 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.
Average of ratings: -
In reply to Roberto Parraguez S.

Re: Concurrence and mutual exclusion

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