Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Shao_Lo
Beginner
25 Views

Bug in tbb pipeline example?

The implementation of MyInputFilter uses a size_t next_buffer to cycle through the MyTransformFilter objects. If the MyTransformFilter operators do not complete in the proper order, won't MyInputFilter's operator overwrite data in the wrong MyBuffer?..or is there some serialization that I'm missing??
0 Kudos
1 Reply
Shao_Lo
Beginner
25 Views

I think I just answerd my own question. I think the serial output filter is what makes this example work.

If this filter is omitted, then the problem occurs.
Reply