7 Jul
2010
7 Jul
'10
3:23 p.m.
I dont' work with boost threads, so I try to read the thread id with boost::thread::get_id().
Look at thread::native_handle() member function.
Compiling works, but on linking I get the error "that boost threads can't linking", but I don't have any library like "boost thread" ? Should I compile the library like the iostream lib?
Yes, you have to build Boost.Thread library.