| 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 14 matching lines...) Expand all Loading... |
| 25 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 25 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
| 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 "wtf/Threading.h" | 31 #include "wtf/Threading.h" |
| 32 | 32 |
| 33 #if OS(POSIX) | 33 #if OS(POSIX) |
| 34 | 34 |
| 35 #include "wtf/CurrentTime.h" |
| 35 #include "wtf/DateMath.h" | 36 #include "wtf/DateMath.h" |
| 36 #include "wtf/HashMap.h" | 37 #include "wtf/HashMap.h" |
| 37 #include "wtf/OwnPtr.h" | 38 #include "wtf/OwnPtr.h" |
| 38 #include "wtf/PassOwnPtr.h" | 39 #include "wtf/PassOwnPtr.h" |
| 39 #include "wtf/StdLibExtras.h" | 40 #include "wtf/StdLibExtras.h" |
| 40 #include "wtf/ThreadSpecific.h" | 41 #include "wtf/ThreadSpecific.h" |
| 41 #include "wtf/ThreadingPrimitives.h" | 42 #include "wtf/ThreadingPrimitives.h" |
| 42 #include "wtf/WTFThreadData.h" | 43 #include "wtf/WTFThreadData.h" |
| 43 #include "wtf/dtoa.h" | 44 #include "wtf/dtoa.h" |
| 44 #include "wtf/dtoa/cached-powers.h" | 45 #include "wtf/dtoa/cached-powers.h" |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 | 258 |
| 258 void willCreateThread() | 259 void willCreateThread() |
| 259 { | 260 { |
| 260 s_threadCreated = true; | 261 s_threadCreated = true; |
| 261 } | 262 } |
| 262 #endif | 263 #endif |
| 263 | 264 |
| 264 } // namespace WTF | 265 } // namespace WTF |
| 265 | 266 |
| 266 #endif // OS(POSIX) | 267 #endif // OS(POSIX) |
| OLD | NEW |