Changeset 41605 in webkit for trunk/JavaScriptCore/wtf/Threading.h
- Timestamp:
- Mar 11, 2009, 6:26:55 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/Threading.h
r41536 r41605 109 109 typedef void* (*ThreadFunction)(void* argument); 110 110 111 // Returns 0 if thread creation failed 111 // Returns 0 if thread creation failed. 112 // The thread name must be a literal since on some platforms it's passed in to the thread. 112 113 ThreadIdentifier createThread(ThreadFunction, void*, const char* threadName); 114 115 // Internal platform-specific createThread implementation. 113 116 ThreadIdentifier createThreadInternal(ThreadFunction, void*, const char* threadName); 117 118 // Called in the thread during initialization. 119 // Helpful for platforms where the thread name must be set from within the thread. 120 void setThreadNameInternal(const char* threadName); 114 121 115 122 ThreadIdentifier currentThread();
Note:
See TracChangeset
for help on using the changeset viewer.