OLD | NEW |
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 Loading... |
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 Loading... |
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) |
OLD | NEW |