0

I need to create user timer and thread in windows kernel program. Anyone please give a clue that if the regular threading headers are applicable in this mode?

tostao
  • 2,803
  • 4
  • 38
  • 61

2 Answers2

1

You need to look into KMDF or WDM if you are using some old drivers.

For timers see this:

http://msdn.microsoft.com/en-us/library/windows/hardware/ff550050(v=vs.85).aspx

And here are threads or work items:

http://msdn.microsoft.com/en-us/library/windows/hardware/ff551203(v=vs.85).aspx

ila
  • 58
  • 1
  • 1
  • 9
0

If you are developing in kernel mode, then you need to take a look at the DDK, as the functions are quite different and more restrictive to use, than the user space versions.

So the short answer is, no, the regular libraries can not be used inside a driver.

You might take alook at PsCreateSystemThread for threading, as this is something you will need.

Devolus
  • 21,661
  • 13
  • 66
  • 113