This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revisionBoth sides next revision |
thread_safety [2007-07-11 16:38] – nik | thread_safety [2007-07-11 16:38] – nik |
---|
| |
===thread safety=== | ====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. | 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. |