Reputation: 5882
Is the behavior documented/defined anywhere for the following situations:
I've found in both cases that process B's operation will succeed - and closing the handle in A still works too. But what is really happening here?
There seems to be a lot of edge causes that make this hard to understand. For example what would happen in case 1 if after process B deletes the key, process A attempts to rename the deleted key or create new sub keys under it?
Upvotes: 0
Views: 65
Reputation: 5389
A deleted key is not removed until the last handle to it is closed.
Upvotes: 2