- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm running FeedTwoMouths example on Fedora 9 using tbb2.2.
Since the task scheduler initialization is optional for tbb2.2, so I commentted out the line
tbb::task_scheduler_init init( argc>1 ? strtol(argv[1],0,0) : 3 );
in main() function. It compiled but I got segfault whenI ran it.
Then I did the same thing on Windows xp (comment out the same line and using tbb2.2), the example runs fine.
So my question is when I use tbb2.2, the automatic task initialization is not the same thing as I can just simply comment out the initializatin line? Then Why it works on xp? Or is it an OS related issue? Maybe Fedora 9 is too old?
Thanks,
Mellisa
I'm running FeedTwoMouths example on Fedora 9 using tbb2.2.
Since the task scheduler initialization is optional for tbb2.2, so I commentted out the line
tbb::task_scheduler_init init( argc>1 ? strtol(argv[1],0,0) : 3 );
in main() function. It compiled but I got segfault whenI ran it.
Then I did the same thing on Windows xp (comment out the same line and using tbb2.2), the example runs fine.
So my question is when I use tbb2.2, the automatic task initialization is not the same thing as I can just simply comment out the initializatin line? Then Why it works on xp? Or is it an OS related issue? Maybe Fedora 9 is too old?
Thanks,
Mellisa
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For a start, I would suggest to check with ldd that the version of libtbb.so is really TBB 2.2 taken from the place you expect it to be.
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