Re: ZwCloseHandle asynchronous on no read/write activity?



close handle is synchronous. it sends a cleanup and possibly a close irp to
the FS. what the FS does with that is dependent on the FS. i think you are
micro optimizing one call, you can't fully peg the CPU in all paths ;)

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


<dmitry.sychov@xxxxxxx> wrote in message
news:1159735732.656998.76730@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

why is the perf of closing a handle an issue?

because the load is not constant and could be high

i do not want for thread to wait for close op to flush metadata
while i can do some purely cpu-based tasks

are you doing it in a perf
critical path?

there are certain loads when all paths become perf critical :)

if so, why are you tearing down resources in a performance
critical path to begin with?

why me? ts not me, but the users...

regards, dmitry



.