Boost logo

Boost :

From: Anthony Williams (anthony_w.geo_at_[hidden])
Date: 2005-09-12 11:07:20


Roland Schwarz <roland.schwarz_at_[hidden]> writes:

> I have come across another problem:
>
> You might try to CloseHandle on the mutex while another thread is still
> waiting on this.
> While the documentation is explicit about a dying thread that did not
> realease a mutex
> he had a hold on (it is abandoned then), I could nothing find for the
> other case.
>
> Any ideas?

Each thread gets its own handle from the call to CreateMutex, which it then
must close, so this is not a problem.

Anthony

-- 
Anthony Williams
Software Developer
Just Software Solutions Ltd
http://www.justsoftwaresolutions.co.uk

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk