[SPAM] - [c++-pthreads] Re: [SPAM] - [c++-pthreads] Re: pthread_cancel and EH: let's try this again - Email found in subject - Email found in subject
David Abrahams
dave at boost-consulting.com
Mon Jul 18 16:36:24 UTC 2005
Ted Baker <baker at cs.fsu.edu> writes:
> On Mon, Jul 18, 2005 at 09:33:33AM -0400, David Abrahams wrote:
>> ... supposed to throw. Exceptions raised by polling are not asynchronous
>> by that definition, unless of course the function doing the polling
>> and throwing lies and claims it doesn't throw.
>
> Exactly! If the polling can occur at unknown points, including
> C-language functions in a chain of library calls below your
> level of visibility, then the effect can be indistinguishable.
That's a big "if." You can't lump all flag-polling schemes into the
"asynchronous" bucket just because some do fall there. I'm asking you
to be precise and make the distinction, because whether flag-polling
will be effectively asynchronous for some classes of C++ programs is
one of the points we're trying to decide.
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
More information about the c++-pthreads
mailing list