GDK icon indicating copy to clipboard operation
GDK copied to clipboard

Function RemoveDirectoryW() sometime fails with error 0x1f (ERROR_GEN_FAILURE)

Open alex-klyushkin opened this issue 3 years ago • 0 comments

Hello everyone! In out application for XBOX series X we have two threads. First thread does a lot of asynchronous file read operations. Size of most files about 1 KB. At same time second thread call RemoveDirectoryW() function several times and sometime this function fails. GetLastError() returns 0x1f (ERROR_GEN_FAILURE). It looks like system or disk can't process this remove request, because there are a lot of ansync reads at first thread. Is it known issue? And is there any workaround?

With best regards, Alexey.

alex-klyushkin avatar Aug 12 '22 11:08 alex-klyushkin