Debian Codegraph @

js/src/threading/windows/ThreadPlatformData.h

raw
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6
7 #ifndef threading_windows_PlatformData_h
8 #define threading_windows_PlatformData_h
9
10 #include <assert.h>
11 #include <new.h>
12 #include <process.h>
13
14 #include "threading/Thread.h"
15
16 #include "util/WindowsWrapper.h"
17
18 namespace js {
19
20 class ThreadId::PlatformData {
21 friend class Thread;
22 friend class ThreadId;
23
24 HANDLE handle;
25 unsigned id;
26 };
27
28 } // namespace js
29
30 #endif // threading_windows_PlatformData_h