eglowacki / zloty

YAGET development
MIT License
1 stars 0 forks source link

Research Dynamic JobPool #41

Closed eglowacki closed 3 years ago

eglowacki commented 3 years ago

Current JobPool implementation sizes it's number of threads at creation and it's const for the lifetime of an object.

Research of allowing the JobPool to grow up to some max but only on demand. If there is pending jog and no sleeping thread, create a new one, otherwise leave job in queue.

eglowacki commented 3 years ago

Added full support for dynamic pools, including starting with 0