atomic_flag needs to have public methods.
Build fixes for Symbian.
Buildfix for iOS.
merged with latest upstream version
made unwated changes to base/mutex. changing