Opened 9 years ago
Closed 9 years ago
#9117 closed Bugs (invalid)
unexpected behaviour of thread in 1.54
Reported by: | Owned by: | Anthony Williams | |
---|---|---|---|
Milestone: | To Be Determined | Component: | thread |
Version: | Boost 1.54.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Hi
platform: on mac os x 64 bit
running boost thread example from http://www.boost.org/doc/libs/1_54_0/libs/thread/example/thread.cpp with boost version 1.54
results in arch -x86_64 /Users/vivanov/Library/Caches/appCode20/DerivedData/play1-c92f4fc7/Build/Products/Debug/play1 setting alarm for 5 seconds...
Process finished with exit code 139
so the "alarm sounded" line doesnt appear and the thread doesnt sleep for 5 seconds -- instead it quits right after printing "setting alarm for 5 seconds"
the example for 1.49 version runs perfectly with boost version 1.49 works perfectly fine http://www.boost.org/doc/libs/1_49_0/libs/thread/example/thread.cpp
arch -x86_64 /Users/vivanov/Library/Caches/appCode20/DerivedData/play1-c92f4fc7/Build/Products/Debug/play1 setting alarm for 5 seconds... alarm sounded...
Process finished with exit code 139
Change History (2)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
please mark solved recompiled boost and all worked perfectly
./bootstrap.sh --with-toolset=clang --prefix=/usr/local ./b2 install toolset=clang cxxflags="-std=c++11 -stdlib=libc++" linkflags="-stdlib=libc++" threading=multi