Re: [Cppcms-users] Segmentaion fault occurs to booster::aio::io_service running in booster::thread
Brought to you by:
artyom-beilis
From: CN <cn...@fa...> - 2016-05-09 08:11:17
|
File "~/booster/lib/src/thread/pthread.cpp" already includes "pthread.h". Nevertheless, I have just tried as you suggested but got the same segmentation fault from the executable compiled with option "-pthread" added: g++ -lbooster -lcppcms -lboost_system -pthread t.cpp On Mon, May 9, 2016, at 02:20 PM, Marcel Hellwig wrote: > I'm not entirely sure, but don't you need something like '-pthread' to > use threads in a unix environment. Try that out. -- http://www.fastmail.com - mmm... Fastmail... |