Kernel lock

  • Thread starter Thread starter csharpula csharp
  • Start date Start date
C

csharpula csharp

Hello,
I wanted to ask in which cases Kernel itself uses locks?
Thank u!
 
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
(e-mail address removed)
http://www.saunalahti.fi/janij/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top