Nest the top level task.
Nest the top level task. Perform the cleanup after nested task completion. One easy way to do this is:...{ // scopeYourTree_t tree; // ctor creates empty treeparallel_invoke([]() {... your multi-task...
View ArticleUnfortunately it's not like
Unfortunately it's not like that. Our model is long living, and has several algorithms which run over it (e.g. search for a particular word). The user modifies the model via a GUI which (on delete)...
View ArticleI've just read about hazard
I've just read about hazard pointers for the first time (pretty new to lock free programming), which would totally solve my problem, but I think the scheduling design is actually better for a task...
View ArticleI've done some more reading
I've done some more reading and it doesn't look like we can implement sceduled destruction of objects via the TBB API. Maybe this is something that Intel could explore for future revisions? Maybe it's...
View Article
More Pages to Explore .....