In general, boost. thread can run well in a PC environment (such as windows and xnix), while the boost library does not yet specify which mobile platform to support. Recently, I have tested whether the boost. Thread library can work on certain mobile platforms (wince, Symbian. The conclusion is that it can also be used. The following is a brief description:
Test environment:
1) WinCE (wm5.0 PPC): boost1.37.0 (Latest Version)
2) Symbian (s60 3rd MR + openc/C ++ SDK): boost1.34.1 (previously, the boost library used in openc/C ++ was 1.35.0)
> Why are different boost versions used in the test?
In Symbian, I also tried boost. Thread for version 1.37.0.Source codeBut gave up. The same is true for version 1.35.0. The last version is 1.34.1.
> The boost library already exists in openc/C ++ SDK. Do you want to download boost1.34.1?
It seems that only the header file is available. The boost. Thread library needs to be compiled to implement the libraryCodeIn the lib directory.
Test object:
The test examples are built-in examples under Boost. Thread: monitor. cpp
Test results:
Both of them passed smoothly. Among them, Windows only tested and passed in the simulator, and Symbian passed smoothly in both the simulator and the real machine environment.
Conclusion: When developing cross-platform C ++ multi-threaded applications, the boost. Thread library is a good choice.