====thread safety==== every now and then i get worried about how to write thread safe code. i'm still searching for a collection of "do and don't"-style guidelines, but in the meantime i found this article by Ross Bencina: Some notes on lock-free and wait-free algorithms. the notes take the form of a literature and technology survey, with an emphasis on the real-time audio domain. interestingly it lists a number of libraries of known-safe algorithms and data-structures, which is probably more useful than an article on how to write them. --[[pix]] - 10 May 2006 * http://www.audiomulch.com/~rossb/code/lockfree/ * or http://www.rossbencina.com/code/lockfree?q=~rossb/code/lockfree/