Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Task Isolation like TBB #522

@bradphelan

Description

@bradphelan

Using any kind of thread local variable or mutex in the presence of nested tasking is problematic.

https://link.springer.com/chapter/10.1007/978-1-4842-4398-5_12

Taskflow doesn't currently provide any primitives to support task isolation.

In taskflow the equivalent nested task would cause a deadlock

image

tbb provides the task isolation primitives too assist with this. The attached article goes into more details and usecases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions