summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/Thread.h
diff options
context:
space:
mode:
authoromegadox <omegadox@gmail.com>2009-03-28 08:57:34 +0000
committeromegadox <omegadox@gmail.com>2009-03-28 08:57:34 +0000
commiteb0cab140f4aa4e17cb60e39e7467a36d6bfa97d (patch)
treef725c5354346506a0491211b87e1d59cb62b7fdc /Source/Core/Common/Src/Thread.h
parentbdabcd4bf5a460eaed21571b17ecd48b8f8c01aa (diff)
Some code cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2768 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/Common/Src/Thread.h')
-rw-r--r--Source/Core/Common/Src/Thread.h19
1 files changed, 5 insertions, 14 deletions
diff --git a/Source/Core/Common/Src/Thread.h b/Source/Core/Common/Src/Thread.h
index 83e5ec2d11..8a0fb88669 100644
--- a/Source/Core/Common/Src/Thread.h
+++ b/Source/Core/Common/Src/Thread.h
@@ -1,4 +1,4 @@
-// Copyright (C) 2003-2008 Dolphin Project.
+// Copyright (C) 2003-2009 Dolphin Project.
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -15,12 +15,9 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
-#ifndef _THREAD_H
-#define _THREAD_H
+#ifndef _THREAD_H_
+#define _THREAD_H_
-//////////////////////////////////////////////////////////////////////////////////////////
-// Includes
-// ------------
#ifdef _WIN32
#include <windows.h>
#define THREAD_RETURN DWORD WINAPI
@@ -39,9 +36,6 @@
#include <stdio.h>
#include <string.h>
-/////////////////////////////////////////////////////////////////////////////////////////
-// Definitions
-// ------------
// This may not be defined outside _WIN32
#ifndef _WIN32
#ifndef INFINITE
@@ -124,9 +118,7 @@ public:
void MsgWait() {Wait();}
#endif
- // -----------------------------------------
#ifdef SETUP_TIMER_WAITING
- // -----------------
bool TimerWait(EventCallBack WaitCB, int Id = 0, bool OptCondition = true);
bool DoneWait();
void SetTimer();
@@ -136,7 +128,6 @@ public:
HANDLE hTimer;
HANDLE hTimerQueue;
#endif
- // ---------------------------
private:
#ifdef _WIN32
@@ -163,6 +154,6 @@ LONG SyncInterlockedExchangeAdd(LONG *Dest, LONG Val);
LONG SyncInterlockedExchange(LONG *Dest, LONG Val);
LONG SyncInterlockedIncrement(LONG *Dest);
-} // end of namespace Common
+} // namespace Common
-#endif
+#endif // _STRINGUTIL_H_