Re: [c++-pthreads] cancellation points report failure
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [c++-pthreads] cancellation points report failure



Ted Baker <baker@xxxxxxxxxx> writes:

> If I'm confused, enlighten me.
>
> How are you going to implement this version of
> read() that raises the exeption?
>
> The only way I know is to create a wrapper for the C-language
> read() function (or the corresponding system call trap), check the
> return value and if it is negative, throw the exception.

IIUC, you're still being confused in the same way... but I'll let
Nathan explain himself because, who knows, maybe it's me that's
confused after all? 

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com