In C++ boost libraries, there are synchronization mechanisms provided, which however support only a very limited list of compilers.
We have to implement the synchronizaion mechanisms in our own way so that it provides wider support for different compilers. In other words, we want to write multi-platform C++ libraries.
I'm pretty new to multiplatform programming and the C++ realm (previously a Java guy). Could someone please show me how to get started possibly with some simple examples?
Although Boost might not provide a ready made solution for you, it incorporates a lot of information and tools to deal with different compilers. I suggest you check out how they manage it and see if you can leverage some of their code. In your place I'd start with Boost.Config.