#11302 closed Bugs (fixed)
boost thread doesn't build with BOOST_THREAD_PATCH.
Reported by: | Owned by: | viboes | |
---|---|---|---|
Milestone: | Boost 1.60.0 | Component: | thread |
Version: | Boost 1.58.0 | Severity: | Showstopper |
Keywords: | Cc: |
Description
inside libs/thread/src/pthread/thread.cpp there's an access to currently private member 'epoch' in line 127:
if (current_thread_tls_init_flag.epoch!=BOOST_ONCE_INITIAL_FLAG_VALUE)
Attachments (1)
Change History (16)
comment:1 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 7 years ago
Type: | Bugs → Support Requests |
---|
comment:9 by , 7 years ago
I forget that I applied it already
https://github.com/boostorg/thread/commit/4d45da6c06970b54387ee040e20a8a88c84c50c0
Now I need to remove the conditional compilation on BOOST_THREAD_PATCH :(
comment:10 by , 7 years ago
comment:11 by , 7 years ago
Milestone: | To Be Determined → Boost 1.60.0 |
---|
comment:12 by , 7 years ago
Type: | Support Requests → Bugs |
---|
comment:13 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:14 by , 7 years ago
It seems that this last patch was somehow reverted:
https://github.com/boostorg/thread/blob/develop/src/pthread/thread.cpp#L118
Any chance this gets fixed for boost 1.61?
comment:15 by , 7 years ago
Actually the code in boost 1.61 beta does not contain that #define check, and this is what triggers my bug. Forget what I just said, I will open a new ticket.
Well, this is not documented.
I tried long time ago to apply this patch but I didn't reached to get anything fixed. Please be free to propose a patch if you reach to make it work.