]> 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>
Tue, 28 Jun 2011 13:25:41 +0000 (06:25 -0700)
commit2265aee592554c0caa270d5988fd7db3e84c212d
tree16e011bf776a57252a696d2a30fd9e7c11324710
parent2c7cad7d1aef1ba202d6e62cfde2a85ae0395304
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.

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>
(cherry-picked from 418a70feedb5574d28c3fbe513333b0fb102a3ca)

Change-Id: I467c2b8cd00b6b248b3c50270da470cebd4b6a5f
Reviewed-on: http://gerrit.openafs.org/4892
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/WINNT/client_exp/gui2fs.cpp