Searched refs:poolInstance (Results 1 – 2 of 2) sorted by relevance
3934 __gshared TaskPool poolInstance; in version() local3952 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 …]
4195 private __gshared TaskPool poolInstance; in version() local4214 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 …]