summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorzork@google.com <zork@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-16 23:43:58 +0000
committerzork@google.com <zork@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-16 23:43:58 +0000
commitedf4898029126a651010d85c55c9bc0f54f23436 (patch)
tree156ba1730ee1b9db40fb2411ee89b883bc7b6616 /app
parente19d7133ce2bcb816fbd6e707622cc43a5735c1d (diff)
downloadchromium_src-edf4898029126a651010d85c55c9bc0f54f23436.zip
chromium_src-edf4898029126a651010d85c55c9bc0f54f23436.tar.gz
chromium_src-edf4898029126a651010d85c55c9bc0f54f23436.tar.bz2
Prevent thread creation if Join has already been called.
Tracking the thread id in the constructor, destructor and Start() shows that the thread object can be started and stopped on different threads. This means that there is a race condition if Stop() or Join() gets called during Start(), which could cause the thread to start with a pointer to a deleted object. BUG=23251 TEST=none Review URL: http://codereview.chromium.org/274079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29356 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app')
0 files changed, 0 insertions, 0 deletions