Changeset 35420 in webkit for trunk/JavaScriptCore/wtf/ThreadingWin.cpp
- Timestamp:
- Jul 29, 2008, 9:23:08 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/ThreadingWin.cpp
r35419 r35420 92 92 static void setThreadName(DWORD dwThreadID, LPCSTR szThreadName) 93 93 { 94 // Visual Studio has a 31-character limit on thread names. Longer names will 95 // be truncated silently, but we'd like callers to know about the limit. 96 ASSERT_ARG(szThreadName, strlen(szThreadName) <= 31); 97 94 98 THREADNAME_INFO info; 95 99 info.dwType = 0x1000; … … 175 179 ThreadIdentifier createThread(ThreadFunction entryPoint, void* data, const char* threadName) 176 180 { 177 // Visual Studio has a 31-character limit on thread names. Longer names will178 // be truncated silently, but we'd like callers to know about the limit.179 ASSERT_ARG(szThreadName, strlen(szThreadName) <= 31);180 181 181 unsigned threadIdentifier = 0; 182 182 ThreadIdentifier threadID = 0;
Note:
See TracChangeset
for help on using the changeset viewer.