Recently, I have been having problems with the task scheduler as it doesn't seem to call the tbb::task I created and spawned via the task scheduler. Are there any conditions or cases when the task scheduler doesn't execute tbb::tasks at all. I initially assumed there were none but given this behavior, I just have to make sure. :)
By the way, my usage of the task tree is only up to level 1 deep. So, spawn tasks doesn't spawn other tasks.
I appreciate any input on this.
- Edit - It sees like it spawns fine but the problem was preemption.