Cm msg deadlock note: Difference between revisions

From MidasWiki
Jump to navigation Jump to search
(Created page with "= Note on race condition and deadlock between ODB lock and SYSMSG lock in cm_msg() = * https://midas.triumf.ca/elog/Midas/737")
 
Line 1: Line 1:
= Note on race condition and deadlock between ODB lock and SYSMSG lock in cm_msg() =
= Note on race condition and deadlock between ODB lock and SYSMSG lock in cm_msg() =


* https://midas.triumf.ca/elog/Midas/737
In December 2010/January/February 2011 I identified and fixed a number of race conditions and deadlocks that were severely affecting the T2K/ND280 experiment in Japan. Removal of these problems was an important improvement to MIDAS. To remember lessons learned and to avoid having these problems come back, I document the relevant information in this wiki.
 
The whole blow-by-blow account can be read on the MIDAS forum:
* https://midas.triumf.ca/elog/Midas/734 - start of thread
* https://midas.triumf.ca/elog/Midas/737 - deadlock involving cm_msg()
* https://midas.triumf.ca/elog/Midas/741 - cm_msg() deadlock through cm_watchdog()

Revision as of 09:35, 6 August 2013

Note on race condition and deadlock between ODB lock and SYSMSG lock in cm_msg()

In December 2010/January/February 2011 I identified and fixed a number of race conditions and deadlocks that were severely affecting the T2K/ND280 experiment in Japan. Removal of these problems was an important improvement to MIDAS. To remember lessons learned and to avoid having these problems come back, I document the relevant information in this wiki.

The whole blow-by-blow account can be read on the MIDAS forum: