This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision |
thread_safety [2007-07-11 16:38] – nik | thread_safety [2023-03-27 14:07] (current) – 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. |
| |
http://www.audiomulch.com/~rossb/code/lockfree/ | --[[pix]] - 10 May 2006 |
| |
| * http://www.audiomulch.com/~rossb/code/lockfree/ |
--[[pix]] - 10 May 2006 | * or http://www.rossbencina.com/code/lockfree?q=~rossb/code/lockfree/ |
| |
| |
| |