Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Side by Side Diff: Source/WTF/wtf/ThreadingPthreads.cpp

Issue 13529026: Removing a bunch of unused platform code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix whitespace and compiler error on Mac. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/WTF/wtf/Platform.h ('k') | Source/WTF/wtf/text/AtomicString.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2007 Justin Haygood (jhaygood@reaktix.com) 3 * Copyright (C) 2007 Justin Haygood (jhaygood@reaktix.com)
4 * Copyright (C) 2011 Research In Motion Limited. All rights reserved. 4 * Copyright (C) 2011 Research In Motion Limited. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 15 matching lines...) Expand all
26 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #include "config.h" 31 #include "config.h"
32 #include "Threading.h" 32 #include "Threading.h"
33 33
34 #if USE(PTHREADS) 34 #if USE(PTHREADS)
35 35
36 #include "CurrentTime.h"
37 #include "DateMath.h" 36 #include "DateMath.h"
38 #include "dtoa.h" 37 #include "dtoa.h"
39 #include "dtoa/cached-powers.h" 38 #include "dtoa/cached-powers.h"
40 #include "HashMap.h" 39 #include "HashMap.h"
41 #include "RandomNumberSeed.h" 40 #include "RandomNumberSeed.h"
42 #include "StackStats.h" 41 #include "StackStats.h"
43 #include "StdLibExtras.h" 42 #include "StdLibExtras.h"
44 #include "ThreadFunctionInvocation.h" 43 #include "ThreadFunctionInvocation.h"
45 #include "ThreadIdentifierDataPthreads.h" 44 #include "ThreadIdentifierDataPthreads.h"
46 #include "ThreadSpecific.h" 45 #include "ThreadSpecific.h"
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 407
409 void ThreadCondition::broadcast() 408 void ThreadCondition::broadcast()
410 { 409 {
411 int result = pthread_cond_broadcast(&m_condition); 410 int result = pthread_cond_broadcast(&m_condition);
412 ASSERT_UNUSED(result, !result); 411 ASSERT_UNUSED(result, !result);
413 } 412 }
414 413
415 } // namespace WTF 414 } // namespace WTF
416 415
417 #endif // USE(PTHREADS) 416 #endif // USE(PTHREADS)
OLDNEW
« no previous file with comments | « Source/WTF/wtf/Platform.h ('k') | Source/WTF/wtf/text/AtomicString.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698