Oops, sorry for the confusion then. I didn't really look at the code, only was reading your comments and was under impression that was the case. Sorry again. Do you know how NT handles that?
I'd say local & global are really the same stuff, both reside in kernel space, but the second is shared across process while the first isn't.
A+