and these are the errors:
Error 1 error C2450: switch expression of type 'boost::thread::id' is illegal c:\users\master\documents\visual studio 2010\projects\boost example\boost example\mb.cpp 61 1 Boost Example
Error 2 error C2228: left of '.get_id' must have class/struct/union c:\users\master\documents\visual studio 2010\projects\boost example\boost example\mb.cpp 63 1 Boost Example
Error 3 error C2046: illegal case c:\users\master\documents\visual studio 2010\projects\boost example\boost example\mb.cpp 63 1 Boost Example
Error 4 error C2228: left of '.get_id' must have class/struct/union c:\users\master\documents\visual studio 2010\projects\boost example\boost example\mb.cpp 66 1 Boost Example
Error 5 error C2046: illegal case c:\users\master\documents\visual studio 2010\projects\boost example\boost example\mb.cpp 66 1 Boost Example
Error 6 error C2228: left of '.get_id' must have class/struct/union c:\users\master\documents\visual studio 2010\projects\boost example\boost example\mb.cpp 70 1 Boost Example
Error 7 error C2046: illegal case c:\users\master\documents\visual studio 2010\projects\boost example\boost example\mb.cpp 70 1 Boost Example
Warning 8 warning C4065: switch statement contains 'default' but no 'case' labels c:\users\master\documents\visual studio 2010\projects\boost example\boost example\mb.cpp 75 1 Boost Example
Error 9 error C2440: '=' : cannot convert from 'boost::thread' to 'boost::thread *' c:\users\master\documents\visual studio 2010\projects\boost example\boost example\mb.cpp 83 1 Boost Example
Error 10 error C2440: '=' : cannot convert from 'boost::thread' to 'boost::thread *' c:\users\master\documents\visual studio 2010\projects\boost example\boost example\mb.cpp 84 1 Boost Example
Error 11 error C2440: '=' : cannot convert from 'boost::thread' to 'boost::thread *' c:\users\master\documents\visual studio 2010\projects\boost example\boost example\mb.cpp 85 1 Boost Example
Error 12 error C2228: left of '.join' must have class/struct/union c:\users\master\documents\visual studio 2010\projects\boost example\boost example\mb.cpp 89 1 Boost Example
13 IntelliSense: expression must have integral or enum type c:\users\master\documents\visual studio 2010\projects\boost example\boost example\mb.cpp 11 9 Boost Example
14 IntelliSense: expression must have class type c:\users\master\documents\visual studio 2010\projects\boost example\boost example\mb.cpp 13 7 Boost Example
15 IntelliSense: expression must have class type c:\users\master\documents\visual studio 2010\projects\boost example\boost example\mb.cpp 16 8 Boost Example
16 IntelliSense: expression must have class type c:\users\master\documents\visual studio 2010\projects\boost example\boost example\mb.cpp 20 8 Boost Example
17 IntelliSense: no suitable conversion function from "boost::thread" to "boost::thread *" exists c:\users\master\documents\visual studio 2010\projects\boost example\boost example\mb.cpp 33 19 Boost Example
18 IntelliSense: no suitable conversion function from "boost::thread" to "boost::thread *" exists c:\users\master\documents\visual studio 2010\projects\boost example\boost example\mb.cpp 34 19 Boost Example
19 IntelliSense: no suitable conversion function from "boost::thread" to "boost::thread *" exists c:\users\master\documents\visual studio 2010\projects\boost example\boost example\mb.cpp 35 19 Boost Example
20 IntelliSense: expression must have class type c:\users\master\documents\visual studio 2010\projects\boost example\boost example\mb.cpp 39 3 Boost Example