IRP_MJ_CREATE synchronization

Hi, All

I’m writting FS filter driver for NT4 and have following scenario:
I have global linked list that will be accessed by my filter
when it gets IRP_MJ_CREATE. Some threads will read from
this list and some threads will write to this list.
The question is can I use ERESOURCE to synchronize
access to this list? Can I wait on any other objects
in IRP_MJ_CREATE?

Regards.


Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

> I have global linked list that will be accessed by my filter

when it gets IRP_MJ_CREATE. Some threads will read from
this list and some threads will write to this list.
The question is can I use ERESOURCE to synchronize
access to this list?

Yes.

Can I wait on any other objects in IRP_MJ_CREATE?

Yes, for instance - on fast mutexes.

Max