use thread_specific_ptr
use correct eader for thread_specific_ptr<>
optimize queues : from Nat Goodspeed
Nat Goodspeed: optimize fifo + waiting_queue