Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

When to use thread bound filters?

tims666
Beginner
113 Views
Hi everyone, just joined the forum.
I'm new to parallel programming, and I have what is hopefully a simple question:
What are thread bound filters useful for? I got an inkling that they are mainly for interfacing with other threading solutions? But was wondering if say, tying an I/O filter to one thread might improve I/O speed at all?

Thanks!
Tim.
0 Kudos
2 Replies
RafSchietekat
Black Belt
113 Views
My current understanding is that, if you have to ask, a bound filter is not for you, i.e., it only has very specialised uses.
Alexey_K_Intel3
Employee
113 Views
The intended usage of thread bound filters is in situations where execution of a filter depends on some context that is hard or impossible toset up in TBB worker threads (or to transfer there). But I believe our creative users will find out some other scenarios to apply thread bound filters for good :)
Reply