Bug #259

Lock callback mechanism

Added by Carlos Martín about 11 years ago. Updated about 11 years ago.

Status:ClosedStart date:06/11/2010
Priority:NormalDue date:
Assignee:Carlos Martín% Done:


Category:Core & System
Target version:-
Resolution:fixed Pull request:
Affected Versions:


Right now, when a pool needs to access the DB, it sets the callback function and then asks the DB to perform the query.
The DB then locks its mutex, performs the query, calls back the pool, and unlocks itself.

If this sql query takes too much time, the pool may set a new callback function hoping to perform a new query. In this case the first query answer is sent to the wrong callback function.

Associated revisions

Revision 6d60b1c0
Added by Carlos Martín about 11 years ago

bug #259: Callback functions are locked until the DB query answer is processed.

Revision cb0351d6
Added by Abel Coronado about 4 years ago

F #4913 Added message when importing images and vnets (#259)


#1 Updated by Ruben S. Montero about 11 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

Now in master

Also available in: Atom PDF