.docs, MINGW tls patch removed

git-svn-id: svn://ultimatepp.org/upp/trunk@14420 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2020-05-01 17:02:25 +00:00
parent 4056dc0f0e
commit 945a40c24f
19 changed files with 146 additions and 210 deletions

View file

@ -29,11 +29,7 @@ public:
Pool();
~Pool();
#ifdef MINGW_TLS_PATCH
static FastMingwTls<bool> finlock;
#else
static thread_local bool finlock;
#endif
bool DoJob();
static void ThreadRun(int tno);
@ -43,13 +39,8 @@ public:
static Pool& GetPool();
#ifdef MINGW_TLS_PATCH
static FastMingwTls<int> worker_index;
static FastMingwTls<CoWork *> current;
#else
static thread_local int worker_index;
static thread_local CoWork *current;
#endif
ConditionVariable waitforfinish;
Link<MJob, 2> jobs; // global stack and CoWork stack as double-linked lists