Boost logo

Boost :

From: Michael Glassford (glassfordm_at_[hidden])
Date: 2004-08-04 08:25:43

Roland wrote:

I just noticed that in the code you posted, you wrote:

> static void on_process_init(void)
> {
> /* This hooks the main thread exit. It will run the */
> /* termination before global dtors, but will not be run */
> /* when 'quick' exiting the library! However, this is the */
> /* standard behaviour for all global dtors anyways. */
> atexit(on_thread_exit);
> /* hand over to boost */
> on_process_enter();
> }

Just to make certain, should that read:


or was the point to call on_thread_exit() sooner for the main thread? If
that is the case, should both


be included, in your opinion?


Boost list run by bdawes at, gregod at, cpdaniel at, john at