| 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 10 matching lines...) Expand all Loading... |
| 21 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY | 21 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY |
| 22 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | 22 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | 23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
| 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 28 * | 28 * |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef ThreadingPrimitives_h | 31 #ifndef SKY_ENGINE_WTF_THREADINGPRIMITIVES_H_ |
| 32 #define ThreadingPrimitives_h | 32 #define SKY_ENGINE_WTF_THREADINGPRIMITIVES_H_ |
| 33 | 33 |
| 34 #include "sky/engine/wtf/Assertions.h" | 34 #include "sky/engine/wtf/Assertions.h" |
| 35 #include "sky/engine/wtf/FastAllocBase.h" | 35 #include "sky/engine/wtf/FastAllocBase.h" |
| 36 #include "sky/engine/wtf/Locker.h" | 36 #include "sky/engine/wtf/Locker.h" |
| 37 #include "sky/engine/wtf/Noncopyable.h" | 37 #include "sky/engine/wtf/Noncopyable.h" |
| 38 #include "sky/engine/wtf/WTFExport.h" | 38 #include "sky/engine/wtf/WTFExport.h" |
| 39 | 39 |
| 40 #if USE(PTHREADS) | 40 #if USE(PTHREADS) |
| 41 #include <pthread.h> | 41 #include <pthread.h> |
| 42 #endif | 42 #endif |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 | 126 |
| 127 } // namespace WTF | 127 } // namespace WTF |
| 128 | 128 |
| 129 using WTF::MutexBase; | 129 using WTF::MutexBase; |
| 130 using WTF::Mutex; | 130 using WTF::Mutex; |
| 131 using WTF::RecursiveMutex; | 131 using WTF::RecursiveMutex; |
| 132 using WTF::MutexLocker; | 132 using WTF::MutexLocker; |
| 133 using WTF::MutexTryLocker; | 133 using WTF::MutexTryLocker; |
| 134 using WTF::ThreadCondition; | 134 using WTF::ThreadCondition; |
| 135 | 135 |
| 136 #endif // ThreadingPrimitives_h | 136 #endif // SKY_ENGINE_WTF_THREADINGPRIMITIVES_H_ |
| OLD | NEW |