By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,464 Members | 1,583 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,464 IT Pros & Developers. It's quick & easy.

Kernel lock

P: n/a
Hello,
I wanted to ask in which cases Kernel itself uses locks?
Thank u!

*** Sent via Developersdex http://www.developersdex.com ***
Feb 3 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hello!
I wanted to ask in which cases Kernel itself uses locks?
What kind of locks do you mean? When thinking about the native Windows
development, there are many objects that can be used for synchronization
(and thought of as locks), such as mutexes, semaphores, etc. at the kernel
level.

And yes, all these are used in kernel code as needed. Here's a link to a
MSDN topic about synchronization in the Windows Driver Kit. The article
gives you an idea what can be done:

http://msdn2.microsoft.com/en-gb/library/aa490202.aspx

Or, did you mean a "lock" statement in the C# sense? Or something else?

Could you clarify your question a bit, so that we would be able to better
answer your question?

Thanks!

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/
Feb 4 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.