diff options
author | avi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-07 20:12:28 +0000 |
---|---|---|
committer | avi@google.com <avi@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-07 20:12:28 +0000 |
commit | e82b706db2d3da13746b66fd5ab7d5dd38fab17e (patch) | |
tree | 481f0dc57f23c984b5a5b0a9c169b6e928b9258f /base/thread.cc | |
parent | f3adb5c4f36fd3233d0c0baad5eaef76da462a87 (diff) | |
download | chromium_src-e82b706db2d3da13746b66fd5ab7d5dd38fab17e.zip chromium_src-e82b706db2d3da13746b66fd5ab7d5dd38fab17e.tar.gz chromium_src-e82b706db2d3da13746b66fd5ab7d5dd38fab17e.tar.bz2 |
Port in threading for Posix. Will require fixes to MessageLoop and Task to compile on the Mac, though.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@532 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/thread.cc')
-rw-r--r-- | base/thread.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/thread.cc b/base/thread.cc index 25379e1..0a19a16 100644 --- a/base/thread.cc +++ b/base/thread.cc @@ -126,7 +126,7 @@ typedef struct tagTHREADNAME_INFO { // On XP, you can only get the ThreadId of the current // thread. So it is expected that you'll call this after the // thread starts up; hence, it is static. -void Thread::SetThreadName(const char* name, DWORD tid) { +void Thread::SetThreadName(const char* name, unsigned int tid) { THREADNAME_INFO info; info.dwType = 0x1000; info.szName = name; |