Your threading tips are sound. The thread aware memory pools are nice. =)
Here are some of my advanced threading tips: =)
You should spice up your threading site by adding a:
" Rock-Solid Lock-Free Algo's /w cmpxchg8b & cmp8xchg16b Tutorials " additon to your site.
You Intel guys really need to promote the cmpxchg8b and the cmp8xchg16b ( for Merced I think ) opcodes. When you code lock-free algo's using these, they make advanced threading a work of art. They are not just for creating locks you know. =)
I have implemented a 100% ABA proof lock-free IBM FreeList with your cmpxchg8b opcode:
Joe Seigh and I have developed A 100% ABA proof " real " lock-free atomic pointer and I did a lock-free fifo queue with it:
The AtomicPtr combines 100% ABA proof lock-free algos with the ability for a thread to reference a shared pointer without having to already own a marshaled copy!
Also, look at my advanced fifo queue code:
This code is very " thread " friendly. Put this code up against a " normal " fifo shared queue, and it will blow it away.
You should add some similar code examples on the Intel threading sites, or just add a link to my page. ;)
What do you threading masters think about it?