Subj : Re: A question about atomic_ptr To : comp.programming.threads From : Chris Thomasson Date : Sun Apr 17 2005 02:07 am > 1. *Add this to private section: > ----------------- > > static void AC_CDECL lfgc_dtor( void *s ) > { > ac_cpu_node_t *node = (ac_cpu_node_t*)s; > delete (sp_counted_base*)node->state; > ac_thread_cpu_node_cache_push( ac_thread_self(), node ); > } DOH! lfgc_dtor needs to be public in order to tinker around with this hack. .