[IMP] ir.cron: continued implementing multithreaded cron:
authorVo Minh Thu <vmt@openerp.com>
Wed, 13 Jul 2011 13:49:33 +0000 (15:49 +0200)
committerVo Minh Thu <vmt@openerp.com>
Wed, 13 Jul 2011 13:49:33 +0000 (15:49 +0200)
commit6f5eb6b91e27f1c5aa83fd09badc3bb41fe88e3a
tree1fbc543c2b99b960860af1437553786cbf88a1eb
parent95d21a8a7e6a88f5b99034c17923d0918e59c89c
[IMP] ir.cron: continued implementing multithreaded cron:
- use a lock to protect the number of threads
- the not task[0] condition in reschedule_in_advance is not really correct
- but we have to remove the Agent in favor of a real cron master thread.

bzr revid: vmt@openerp.com-20110713134933-gmfwddot50a3ib4k
openerp/addons/base/ir/ir_cron.py
openerp/netsvc.py