- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
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.
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.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you don't have available parallelism, a spawned task will only be executed when you wait for it.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you don't have available parallelism, a spawned task will only be executed when you wait for it.


Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page