
18 Mar
2009
18 Mar
'09
9:08 a.m.
GC doesn't necessarily prevents the ABA problem in every situation, for a fifo queue with enqueue and dequeue it suffices. Anyway don't you think that confining T to be POD type a little bit of restrictive?
well, i am usually using the fifo queue in a soft-realtime system, where this restriction doesn't matter. in order to transfer non-POD classes, one will probably want to allocate them on the heap ... tim -- tim@klingt.org http://tim.klingt.org After one look at this planet any visitor from outer space would say "I want to see the manager." William S. Burroughs