There are many books available on multithreaded programming and we don’t claim these are the only good ones, but we can recommend:
“Programming with POSIX Threads,” Butenhof, Addison-Wesley.
“Win32 Multithreaded Programming,” Cohen & Woodring, O’Reilly Press.