Group: comp.lang.c++
From: "sk_usenet"
Date: Saturday, April 12, 2008 6:59 PM
Subject: Re: c++ event sink


"Stefan Ram" wrote in message
> "sk_usenet" writes:
>>There is no concept of thread or process as far as the C++
>>language is concerned.
>
> »When an exception is thrown, control is transferred to
> the nearest handler with a matching type (15.3); "nearest"
> means the handler for which the compound-statement,
> ctor-initializer, or function-body following the try
> keyword was most recently entered by the thread of control
> and not yet exited.« ¯¯¯¯¯¯
>
> ISO/IEC 14882:2003(E), 15.1p2
>
> »If a function is registered with atexit (see ,
> 18.3) then following the call to exit, any objects with
> static storage duration initialized prior to the
> registration of that function shall not be destroyed until
> the registered function is called from the termination
> process and has completed.«
> ¯¯¯¯¯¯¯
> ISO/IEC 14882:2003(E), 3.6.3p3

Ok, pedantically speaking Standard does recognize something of a thread, and
something of a process. But the bottom line is that OP's question was
off-topic.