mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 07:26:20 +00:00
Move Arch to irc module.
svn path=/trunk/; revision=13063
This commit is contained in:
parent
85ae2d98f2
commit
568b27baeb
40 changed files with 0 additions and 5 deletions
28
irc/ArchBlackmann/ThreadPool.h
Normal file
28
irc/ArchBlackmann/ThreadPool.h
Normal file
|
@ -0,0 +1,28 @@
|
|||
// ThreadPool.h
|
||||
// This file is (C) 2003-2004 Royce Mitchell III
|
||||
// and released under the LGPL & BSD licenses
|
||||
|
||||
#ifndef THREADPOOL_H
|
||||
#define THREADPOOL_H
|
||||
|
||||
#include "ReliMT.h"
|
||||
|
||||
typedef void THREADAPI ThreadPoolFunc ( void* );
|
||||
|
||||
class ThreadPoolImpl;
|
||||
|
||||
class ThreadPool : public Uncopyable
|
||||
{
|
||||
public:
|
||||
static ThreadPool& Instance();
|
||||
~ThreadPool();
|
||||
|
||||
void Launch ( ThreadPoolFunc* pFun, void* pArg );
|
||||
int IdleThreads();
|
||||
|
||||
private:
|
||||
ThreadPool();
|
||||
ThreadPoolImpl *_pimpl;
|
||||
};
|
||||
|
||||
#endif// THREADPOOL_H
|
Loading…
Add table
Add a link
Reference in a new issue