mirror of
https://github.com/debauchee/barrier.git
synced 2026-11-27 22:32:02 +08:00
changed un-inlined code to avoid bogus VC++ level 4 warnings.
added support for more win32 thread priorities.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user