$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Howard Hinnant (hinnant_at_[hidden])
Date: 2003-06-28 14:32:13
On Saturday, June 28, 2003, at 02:43 PM, Philippe A. Bouchard wrote:
> Hi there,
>
> I was wondering if you were planning to implement some static
> thread &
> thread::current() that returns the current thread id (& thread). That
> would
> be really useful.
The thread default constructor serves this role:
void foo()
{
thread self; // current thread
...
}
-Howard