Home
last modified time | relevance | path

Searched refs:poolInstance (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/
H A Dparallelism.d3934 __gshared TaskPool poolInstance; in version() local
3952 poolInstance = new TaskPool(2);
3953 scope(exit) poolInstance.stop();
3958 auto oldPriority = poolInstance.priority;
3959 poolInstance.priority = Thread.PRIORITY_MAX;
3960 assert(poolInstance.priority == Thread.PRIORITY_MAX);
3962 poolInstance.priority = Thread.PRIORITY_MIN;
3963 assert(poolInstance.priority == Thread.PRIORITY_MIN);
3965 poolInstance.priority = oldPriority;
3966 assert(poolInstance.priority == oldPriority);
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/
H A Dparallelism.d4195 private __gshared TaskPool poolInstance; in version() local
4214 poolInstance = new TaskPool(2);
4215 scope(exit) poolInstance.stop();
4220 auto oldPriority = poolInstance.priority;
4221 poolInstance.priority = Thread.PRIORITY_MAX;
4222 assert(poolInstance.priority == Thread.PRIORITY_MAX);
4224 poolInstance.priority = Thread.PRIORITY_MIN;
4225 assert(poolInstance.priority == Thread.PRIORITY_MIN);
4227 poolInstance.priority = oldPriority;
4228 assert(poolInstance.priority == oldPriority);
[all …]