| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2008, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2008, 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2007 Justin Haygood (jhaygood@reaktix.com) | 3 * Copyright (C) 2007 Justin Haygood (jhaygood@reaktix.com) |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 * FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT | 52 * FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT |
| 53 * SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE | 53 * SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE |
| 54 * FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, | 54 * FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, |
| 55 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 55 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
| 56 * DEALINGS IN THE SOFTWARE. | 56 * DEALINGS IN THE SOFTWARE. |
| 57 */ | 57 */ |
| 58 | 58 |
| 59 #ifndef Threading_h | 59 #ifndef Threading_h |
| 60 #define Threading_h | 60 #define Threading_h |
| 61 | 61 |
| 62 #include <wtf/Platform.h> | 62 #include "wtf/Platform.h" |
| 63 | 63 |
| 64 #include <stdint.h> | 64 #include <stdint.h> |
| 65 #include "wtf/Assertions.h" | 65 #include "wtf/Assertions.h" |
| 66 #include "wtf/Atomics.h" | 66 #include "wtf/Atomics.h" |
| 67 #include "wtf/CurrentTime.h" | 67 #include "wtf/CurrentTime.h" |
| 68 #include "wtf/Locker.h" | 68 #include "wtf/Locker.h" |
| 69 #include "wtf/Noncopyable.h" | 69 #include "wtf/Noncopyable.h" |
| 70 #include "wtf/ThreadSafeRefCounted.h" | 70 #include "wtf/ThreadSafeRefCounted.h" |
| 71 #include "wtf/ThreadingPrimitives.h" | 71 #include "wtf/ThreadingPrimitives.h" |
| 72 #include "wtf/WTFExport.h" | 72 #include "wtf/WTFExport.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 } // namespace WTF | 108 } // namespace WTF |
| 109 | 109 |
| 110 using WTF::ThreadIdentifier; | 110 using WTF::ThreadIdentifier; |
| 111 using WTF::createThread; | 111 using WTF::createThread; |
| 112 using WTF::currentThread; | 112 using WTF::currentThread; |
| 113 using WTF::detachThread; | 113 using WTF::detachThread; |
| 114 using WTF::waitForThreadCompletion; | 114 using WTF::waitForThreadCompletion; |
| 115 using WTF::yield; | 115 using WTF::yield; |
| 116 | 116 |
| 117 #endif // Threading_h | 117 #endif // Threading_h |
| OLD | NEW |