Boost logo

Boost :

From: Edward Diener (eddielee_at_[hidden])
Date: 2003-12-18 16:16:33


Stefan Seefeld wrote:
> hi there,
>
> I'm trying to use the fs::remove_all function but I only
> have mixed success. The application gets stuck one time
> out of two in the process.
>
> I copied the relevant code from 'operations_posix_windows.cpp'
> into the application to be able to debug it and I see that it stops
> somewhere in the middle of the (recursive) call, as if the
> directory_iterator wouldn't work reliably.

A quick shot. I believe I have seen this reported in the past and the fault
was mixing single-threaded code with multi-threaded code.


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