Locks and mutexes are not part of the current C ++ standard, as they deal with concurrency, which is not part of the standard. They are included in several libraries, and different operating systems have different ways to deal with them (POSIX and Windows streams). If you take a book on concurrent programming for C ++, you will probably find what you are looking for. You can find implementations for them both in boost libraries and in ACE.
Themes are part of the C ++ 0x standard. I don't know any books for him yet, but on wikipedia there is an advertisement for the new Threading features here.
tloach
source share