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

Side by Side Diff: third_party/WebKit/Source/platform/wtf/ThreadingPthreads.cpp

Issue 2767153004: Move files in wtf/ to platform/wtf/ (Part 12). (Closed)
Patch Set: Rebase. Created 3 years, 9 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
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 10 matching lines...) Expand all
21 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 21 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY 22 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
23 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
24 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
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 "platform/wtf/Threading.h"
32 32
33 #if OS(POSIX) 33 #if OS(POSIX)
34 34
35 #include "wtf/CurrentTime.h" 35 #include "platform/wtf/CurrentTime.h"
36 #include "wtf/DateMath.h" 36 #include "platform/wtf/DateMath.h"
37 #include "wtf/HashMap.h" 37 #include "platform/wtf/HashMap.h"
38 #include "wtf/StdLibExtras.h" 38 #include "platform/wtf/StdLibExtras.h"
39 #include "wtf/ThreadSpecific.h" 39 #include "platform/wtf/ThreadSpecific.h"
40 #include "wtf/ThreadingPrimitives.h" 40 #include "platform/wtf/ThreadingPrimitives.h"
41 #include "wtf/WTFThreadData.h" 41 #include "platform/wtf/WTFThreadData.h"
42 #include "wtf/dtoa/double-conversion.h" 42 #include "platform/wtf/dtoa/double-conversion.h"
43 #include <errno.h> 43 #include <errno.h>
44 #include <limits.h> 44 #include <limits.h>
45 #include <sched.h> 45 #include <sched.h>
46 #include <sys/time.h> 46 #include <sys/time.h>
47 47
48 #if OS(MACOSX) 48 #if OS(MACOSX)
49 #include <objc/objc-auto.h> 49 #include <objc/objc-auto.h>
50 #endif 50 #endif
51 51
52 #if OS(LINUX) 52 #if OS(LINUX)
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 } 254 }
255 255
256 void willCreateThread() { 256 void willCreateThread() {
257 s_threadCreated = true; 257 s_threadCreated = true;
258 } 258 }
259 #endif 259 #endif
260 260
261 } // namespace WTF 261 } // namespace WTF
262 262
263 #endif // OS(POSIX) 263 #endif // OS(POSIX)
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/wtf/ThreadSpecificWin.cpp ('k') | third_party/WebKit/Source/platform/wtf/ThreadingWin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698