[c++-pthreads] Re: thread-safety definition

Alexander Terekhov boo at terekhov.de
Sat Jan 10 22:27:29 UTC 2004


Wil Evers wrote:
[...]
> remote_resource_holder::~remote_resource_holder()
> {
>    try {
>      remote_resource->release();
>    } catch (...) {
>      // We may try to log what happened,
>      // but can't let the exception escape!
>    }
> }
> 
> I've noticed that some people on this list object to this design, but so
> far, I haven't seen an alternative.  

http://google.com/groups?selm=3E734A5F.8A7F5B56%40web.de
http://google.com/groups?selm=3E76FB8A.A9C88386%40web.de

regards,
alexander.



More information about the c++-pthreads mailing list