commit | 2270dfa0c418ab06e89412ea7b4ffe650490bcc9 | [log] [tgz] |
---|---|---|
author | Srinavasa Nagaraju <srinavasa.x.nagaraju@sonyericsson.com> | Tue Feb 28 12:08:22 2012 +0900 |
committer | Johan Redestig <johan.redestig@sonymobile.com> | Tue Jul 31 12:30:28 2012 +0200 |
tree | 533d23fa27577c4b6b34acb9b851e4ec1caea0b6 | |
parent | 643e5722338d303c0b5aac41107432d8fde4081c [diff] |
fix __cxa_finalize() implementation to be thread safe. __cxa_finalize() modifies the access permissions of __atexit global variable without acquiring _ATEXIT_LOCK(). Fix it prevent any possible races. Change-Id: I11939d0ebcbf6f360c14163222d40a449d96948e