User forums > Using Code::Blocks

why no std::thread?

<< < (2/2)

osdt:

--- Quote from: Alpha on April 22, 2013, 12:13:46 am ---That sounds scary... if I install one, will it suck the blood from my computer? ;)

--- End quote ---
You've never heard of garlic AV suite? The first AV solution at all?

- osdt

zabzonk:
For those that want std::thread, the MinGW-builds implementation of GCC at provides pretty good support, and works just fine with C::B - I've got a short blog article about it at http://latedev.wordpress.com/2013/02/24/investigating-c11-threads/ .

demone:
IN particular you may be interested in one of those 2 pakcages from mingw-builds

GCC 4.8.0 32-bit => stack unwinding sjlj & thread support from POSIX
http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.8.0/32-bit/threads-posix/sjlj/x32-4.8.0-release-posix-sjlj-rev2.7z/download

GCC 4.7.1 32-bit => stack unwinding sjlj & thread support from POSIX
http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.7.1/32-bit/threads-posix/sjlj/x32-4.7.1-release-posix-sjlj-rev0.7z/download

there are other packages as well ^^

they works fine with C::B.

xunxun:
My origin patch was modified by Kai and has been committed to gcc.
http://www.mail-archive.com/mingw-w64-public@lists.sourceforge.net/msg03269.html

But you must use posix thread and winpthread to enable the feature.

Navigation

[0] Message Index

[*] Previous page

Go to full version