From: Peter G. <jpg...@gm...> - 2008-07-01 17:33:07
|
Jean-Denis, Thank you for your analysis of this problem. It was very helpful. Please apply the attached patch and let me know if it still resolves the problem you're observing. This patch fixes addresses a problem I saw in your previous patch where the priority of the watchdog thread might become lower than the priority of the canary thread. If that happened, the whole scheme would be bogus because the watchdog would never wake up to check the canary. This patch also addresses a memory leak of the prioboost structure and some style issues in unixfuncs.c. I apologize for not splitting the patch. Thanks, Pete |