Decouple <cstdint>
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#ifndef THREADS_WIN32_H
|
||||
#define THREADS_WIN32_H
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#include "Threads.h"
|
||||
#if defined(_WINDOWS)
|
||||
# include <windows.h>
|
||||
@@ -19,11 +21,11 @@ public:
|
||||
|
||||
void Halt( bool Kill );
|
||||
void Resume();
|
||||
uint64_t GetThreadId() const;
|
||||
std::uint64_t GetThreadId() const;
|
||||
int Wait();
|
||||
};
|
||||
|
||||
HANDLE Win32ThreadIdToHandle( uint64_t iID );
|
||||
HANDLE Win32ThreadIdToHandle( std::uint64_t iID );
|
||||
|
||||
class MutexImpl_Win32: public MutexImpl
|
||||
{
|
||||
@@ -82,7 +84,7 @@ private:
|
||||
/*
|
||||
* (c) 2001-2004 Glenn Maynard
|
||||
* All rights reserved.
|
||||
*
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
@@ -92,7 +94,7 @@ private:
|
||||
* copyright notice(s) and this permission notice appear in all copies of
|
||||
* the Software and that both the above copyright notice(s) and this
|
||||
* permission notice appear in supporting documentation.
|
||||
*
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
|
||||
|
||||
Reference in New Issue
Block a user