Index: base/platform_thread.h |
=================================================================== |
--- base/platform_thread.h (revision 28691) |
+++ base/platform_thread.h (working copy) |
@@ -19,9 +19,11 @@ |
#include <windows.h> |
typedef DWORD PlatformThreadId; |
typedef void* PlatformThreadHandle; // HANDLE |
+const PlatformThreadHandle kNullThreadHandle = NULL; |
#elif defined(OS_POSIX) |
#include <pthread.h> |
typedef pthread_t PlatformThreadHandle; |
+const PlatformThreadHandle kNullThreadHandle = 0; |
#if defined(OS_MACOSX) |
#include <mach/mach.h> |
typedef mach_port_t PlatformThreadId; |