make numThreads public

This commit is contained in:
Mamy André-Ratsimbazafy 2021-06-29 17:25:10 +02:00
parent 23e396bf30
commit b57bb8b606
No known key found for this signature in database
GPG Key ID: 7B88AD1FE79492E1
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ type
eventNotifier: EventNotifier
## Puts thread to sleep
numThreads{.align: 64.}: int
numThreads*{.align: 64.}: int
workerDeques: ptr UncheckedArray[ChaseLevDeque[TaskNode]]
## Direct access for task stealing
workers: ptr UncheckedArray[Thread[(Taskpool, WorkerID)]]