]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Windows: shell extension is multithreaded
authorJeffrey Altman <jaltman@your-file-system.com>
Wed, 8 Jun 2011 06:22:41 +0000 (02:22 -0400)
committerJeffrey Altman <jaltman@openafs.org>
Wed, 8 Jun 2011 07:47:08 +0000 (00:47 -0700)
commit418a70feedb5574d28c3fbe513333b0fb102a3ca
tree7aeb323a6469b21ffe451e671ce2aeb857b3d565
parent9cde8b8854f255a2cc264e0391dbb855fcfab23b
Windows: shell extension is multithreaded

Since the shell extension is multithreaded and it is possible
for more than one thread to be executing in the gui2fs.cpp module
at a time, it is not safe to use a single static 'space' buffer
by more than one thread at a time.   Move the buffer into the
stack of each function that uses it so that we have thread safety.

Change-Id: Idbec3e0027fc7e3c43b503c55c1b479bcb5984bc
Reviewed-on: http://gerrit.openafs.org/4819
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/client_exp/gui2fs.cpp