$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2003-12-16 12:32:11
Michael Glassford wrote:
[...]
> Actually, I meant the pthread implementation of Boost.Thread, which does
> need to deal with exceptions, and looks like this:
>
> void call_once(void (*func)(), once_flag& flag)
> {
> pthread_once(&once, &key_init);
> pthread_setspecific(key, &func);
> pthread_once(&flag, do_once);
> }
That's http://tinyurl.com/zhqc (http://tinyurl.com/4xw6 and
http://tinyurl.com/4xwf). Hth.
regards,
alexander.