Am 08.10.2014 15:17, schrieb pulkomandy@xxxxxxxxxxxxx:
* Since the BMessageFormat instances are now reused, add locking to avoid race conditions (ICU itself is thread safe, but the format pattern is recreated when the locale is changed)
IMO format objects should be as cheap as possible, and therefore should not perform any locking if possible. They also should not switch language automatically; they should really be immutable objects after construction.
Bye, Axel.