$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Chris Thomasson (cristom_at_[hidden])
Date: 2006-10-30 23:22:22
here is sample usage now:
static atomic::once<foo> g_foo;
void some_threads(...) {
for(;;) {
// whatever...
foo *myfoo = g_foo.load();
if (myfoo) {
// use myfoo...
// okay, we are finished with myfoo
g_foo.dec();
}
}
}