Philippe A. Bouchard said:
> 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.

Can't be done with the current non-copyable semantics.  (BTW, I'm assuming
you know this functionality still exists, via the default c-tor.)  The
next release is changing this, though.  What I'm contemplating as the best
design is a thread::current() as you suggest, with the default c-tor
creating a "null" thread... but that will break existing code, so I have
to tread lightly here.

-- 
William E. Kempf


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to