changed un-inlined code to avoid bogus VC++ level 4 warnings.

added support for more win32 thread priorities.
This commit is contained in:
crs
2002-05-22 16:55:05 +00:00
parent cda243ac76
commit 024f76c909
3 changed files with 30 additions and 3 deletions

View File

@@ -125,8 +125,8 @@ private:
// disables cancellation in the c'tor and enables it in the d'tor.
class CThreadMaskCancel {
public:
CThreadMaskCancel() : m_old(CThread::enableCancel(false)) { }
~CThreadMaskCancel() { CThread::enableCancel(m_old); }
CThreadMaskCancel();
~CThreadMaskCancel();
private:
bool m_old;