about summary refs log tree commit diff
path: root/src/engine/shared/jobs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/shared/jobs.h')
-rw-r--r--src/engine/shared/jobs.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/engine/shared/jobs.h b/src/engine/shared/jobs.h
index 2b0d7d15..9e15228a 100644
--- a/src/engine/shared/jobs.h
+++ b/src/engine/shared/jobs.h
@@ -9,14 +9,14 @@ class CJobPool;
 class CJob
 {
 	friend class CJobPool;
-	
+
 	CJobPool *m_pPool;
 	CJob *m_pPrev;
 	CJob *m_pNext;
-	
+
 	volatile int m_Status;
 	volatile int m_Result;
-	
+
 	JOBFUNC m_pfnFunc;
 	void *m_pFuncData;
 public:
@@ -25,14 +25,14 @@ public:
 		m_Status = STATE_DONE;
 		m_pFuncData = 0;
 	}
-	
+
 	enum
 	{
 		STATE_PENDING=0,
 		STATE_RUNNING,
 		STATE_DONE
 	};
-	
+
 	int Status() const { return m_Status; }
 	int Result() const {return m_Result; }
 };
@@ -42,12 +42,12 @@ class CJobPool
 	LOCK m_Lock;
 	CJob *m_pFirstJob;
 	CJob *m_pLastJob;
-	
+
 	static void WorkerThread(void *pUser);
-	
+
 public:
 	CJobPool();
-	
+
 	int Init(int NumThreads);
 	int Add(CJob *pJob, JOBFUNC pfnFunc, void *pData);
 };