Sunday 20 January 2008

conditions of the race

Spent a large part of the day working through some of the 'backend' php code from kotn trying to track down a  race condition that was causing a problem with some files used for logging. It's just using a simple flat-file system as it doesn't need any complex database functionality, but the difficulties of finding and replicating the circumstances of a race condition can be an absolute nightmare! I did wonder if I should move it all over to SQL DB, but it's a little over the top for what's needed.

Anyway, I've re-written some sections of code in a number of files to see if it will (hopefully) improves things. Now, just hoping that it doesn't break anything else!

No comments: