As others replied in this thread, each thread has it's own stack frame, so
you are safe in your case. However, you should remember that intensivly
using stack in kernel is a bad idea, as it is limited to 3 pages, which is
12 KB in x32. You have to follow the following guides from here:
http://msdn.microsoft.com/en-us/library/ms796278.aspx
Moreover, if you will be allocating local variables on stack like this:
char szMyDummyArray[2048];
You definitly would not pass staticdrv test which is a part of DTM
submission package

.
--
Volodymyr M. Shcherbyna, blog:
http://www.shcherbyna.com/
(This posting is provided "AS IS" with no warranties, and confers no
rights)
"Harald" <> wrote in message
news:C4413F56-858D-4155-A1AB-...
> Hi
>
> Its not the problem with the local variables of the thread but the
> function
> has also some local variables and they are for all calls the same or? For
> example i have an variable for an for iteration named i. When now the four
> threads all call the function at the same time the all have the same
> variable
> or is the variable for every call new?!
>
> Harald
>