- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Before I submit a bug report, has anyone been able to build concurrent_queue.cpp without defining __TBB_NO_BUSY_WAIT_IN_CONCURRENT_QUEUE? I get a syntax error as well as a few type related errors.
FYI:
(I'm using the commercially aligned source release tbb21_014oss.)
$ make info
OS: linux
arch=em64t
compiler=gcc
runtime=cc4.1.2_libc2.3.6_kernel2.6.18
tbb_build_prefix=linux_em64t_gcc_cc4.1.2_libc2.3.6_kernel2.6.18
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That macro is one of several internal macros (as shown by the __TBB_ prefix) that we sometimes use to control inclusion of this or that feature or a fix which should take some field testing before final release. Unfortunately, sometimes we forgot to timely remove old version of the code, and it remains in files but actually is not supported. It looks to me __TBB_NO_BUSY_WAIT_IN_CONCURRENT_QUEUE is such a case. I would not recommend to use it; it's likely to be removed in the future.
By the way, why do you think this mode might be useful for you?
By the way, why do you think this mode might be useful for you?

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