I'm trying to write some multithreading code for mobile apps. I'm thinking about Boost C++ thread library for both iOS and Android. But anyone knows if Boost thread is supported by both platforms? Thanks!
Asked
Active
Viewed 4,119 times
2 Answers
6
Yes, I'm currently maintaining boost::thread
code that runs on iOS and Android.
That said, unless you're attempting to run the same codebase on the two platforms, I would recommend Grand Central Dispatch on iOS instead of boost::thread
.

Matt Wilding
- 20,115
- 3
- 67
- 95
-
Thanks a lot for your answer. Besides thread library, are all other libraries supported by both iOS and Android? I really want to use all good features in Boost library. – tonga Sep 16 '12 at 23:47
-
1Yes, I've been able to leverage many of the boost libraries successfully. I haven't run into a library that didn't work. – Matt Wilding Sep 17 '12 at 00:40
3
I think these posts may help you:
Sounds like it's possible on both Android and IOS