just::thread Support Forum
General Category => General Discussion about just::thread => Topic started by: kkerbel on July 27, 2012, 07:14:06 AM
-
Are they possible with this library? Thanks.
-
Yes, if your compiler supports lambda functions (e.g. MSVC2010, g++ 4.6) then you can use them with the library. e.g.
std::thread t(
[]{
do_something();
do_something_else();
});
-
Thanks!