- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm attempting to implement of a variation the technique described in the O'Reilly book on page 233-236 ("Two Mouths: Feeding two from the same task in a pipeline").
In the example given, the dummy task is eventually spawn()-ed by a task (or more importantly, thread) other than the one that created it.
Reading the O'Reilly book, it states as a requirement for spawn(): (p163)
The calling thread must own this and child.
Two things:
- I have no idea what "own" means in this context -- especially in light of how spawn() is used in the above example.
- Looking at the TBB source code, I'm thinking this restriction is now obsolete but it's hard to tell for sure.
Please advise...
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
From the Reference Manual (Rev. 1.29, as downloaded earlier this year in PDF format, which I prefer but do no longer see on the website?): "The ownership attribute and restrictions in Intel® TBB 2.1 no longer exist.", which you should find reassuring. This footnote is not currently visible in the online HTML format.

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