summaryrefslogtreecommitdiffstats
path: root/JavaScriptCore/wtf/Threading.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge webkit.org at r51976 : Initial merge by git.Steve Block2009-12-171-1/+1
| | | | Change-Id: Ib0e7e2f0fb4bee5a186610272edf3186f0986b43
* Updates Threading.h to reflect final version of Android ↵Steve Block2009-11-231-1/+1
| | | | | | | | atomicIncrement/Decrement submitted to webkit.org. See https://bugs.webkit.org/show_bug.cgi?id=31715 Change-Id: I7f9c0552bd9f3c51e7b869bd1c782ef72d28f1a4
* Cleans up Threading.cpp/h ready for upstreaming to webkit.org.Steve Block2009-11-201-2/+2
| | | | | | | | | | | | | | | | $ diff ~/WebKitTipOfTree/JavaScriptCore/wtf/Threading.cpp JavaScriptCore/wtf/Threading.cpp $ diff ~/WebKitTipOfTree/JavaScriptCore/wtf/Threading.h JavaScriptCore/wtf/Threading.h 75a76,77 > #elif PLATFORM(ANDROID) > #include "cutils/atomic.h" 234a237,241 > #elif PLATFORM(ANDROID) > > inline int atomicIncrement(int volatile* addend) { return android_atomic_inc(addend); } > inline int atomicDecrement(int volatile* addend) { return android_atomic_dec(addend); } > Change-Id: Ie4835ff88aae608b7a1844be1b422d105b327528
* Revert https://android-git.corp.google.com/g/#change,31178Grace Kloba2009-11-161-14/+0
| | | as http://b/issue?id=2183371 is finally fixed.
* am 5469794f: Avoid constructing the MutexLocker class to avoid two mystery ↵Grace Kloba2009-10-301-0/+14
|\ | | | | | | | | | | | | | | | | crashes. Merge commit '5469794fd9ad86cd03ba4cf7ef0bc82329362f39' into eclair-mr2 * commit '5469794fd9ad86cd03ba4cf7ef0bc82329362f39': Avoid constructing the MutexLocker class to avoid
| * Avoid constructing the MutexLocker class to avoidGrace Kloba2009-10-271-0/+14
| | | | | | two mystery crashes.
| * Apparently we can't use atomic_inc/dec version as itGrace Kloba2009-10-211-1/+0
| | | | | | | | | | causes more crashes. Revert it. Revert https://android-git.corp.google.com/g/30606
| * Back in 02/08 when we added android_atomic_inc/dec, forGrace Kloba2009-10-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | some reason, it missed define WTF_USE_LOCKFREE_THREADSAFESHARED. So we are using mutexlocker instead of refcount inc/dec. Even mutex version should work, but it is not exercised by win/darwin/gcc. Changing to use refcount version fixed the crash seen in picasaweb. Fix http://b/issue?id=2183371 Maybe fix http://b/issue?id=2165237. But I can't verify as I can't reproduce it even before my change.
* | The new WebKit expects atomicIncrement to return intGrace Kloba2009-10-211-1/+1
| | | | | | instead of void.
* | Merge webkit.org at R49305 : Fix merge conflicts.Steve Block2009-10-201-4/+0
| | | | | | | | Change-Id: I9e0ffbe9b9b824399653da038093874e315ccd6a
* | Merge webkit.org at R49305 : Automatic merge by git.Steve Block2009-10-201-4/+13
|/ | | | Change-Id: I8968561bc1bfd72b8923b7118d3728579c6dbcc7
* Fix ReadWriteLock class problem. Will upstream this asapAndrei Popescu2009-08-141-3/+3
|
* Fix some build errors.Ben Murdoch2009-08-131-0/+4
|
* Merge in WebKit r47029.Ben Murdoch2009-08-111-6/+30
|
* AI 145796: Land the WebKit merge @r42026.Feng Qian2009-04-101-17/+47
| | | | Automated import of CL 145796
* auto import from //depot/cupcake/@136594The Android Open Source Project2009-03-051-16/+19
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+284
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-284/+0
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-0/+284
|
* Initial ContributionThe Android Open Source Project2008-10-211-255/+0
|
* external/webkit r30707Upstream1970-01-121-0/+255