Boost logo

Boost :

From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2007-02-26 01:43:21


David Abrahams wrote:
> testing.capture-output thread/test_tss_lib.run
>
> Not sure what this one means.
>
> ====== BEGIN OUTPUT ======
> Running 1 test case...
> tss_instances = 0; tss_total = 5
> tss_instances = 5; tss_total = 5
> ../libs/thread/test/test_tss.cpp(151): error in "test_tss": Support of automatic tss cleanup for native threading API not available
>
> *** 1 failure detected in test suite "Master Test Suite"
>
> EXIT STATUS: 201
> ====== END OUTPUT ======

When statically linking the thread lib, the implementation is making use
of some lesser known PE (portable executable) file features to get
automatic cleanup of TSS (thread specific storage) variables.

This message means, that the cleanup works well when threads are
launched via the boost API, but fails for threads that are launched over
the native (i.e. W32) API.

It will need some research whether (and how) this behavior can be
implemented for this compiler.

Roland


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk