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

Side by Side Diff: src/platform-qnx.cc

Issue 304153016: Use full include paths everywhere (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « src/platform-posix.cc ('k') | src/platform-solaris.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Platform-specific code for QNX goes here. For the POSIX-compatible 5 // Platform-specific code for QNX goes here. For the POSIX-compatible
6 // parts the implementation is in platform-posix.cc. 6 // parts the implementation is in platform-posix.cc.
7 7
8 #include <pthread.h> 8 #include <pthread.h>
9 #include <semaphore.h> 9 #include <semaphore.h>
10 #include <signal.h> 10 #include <signal.h>
(...skipping 11 matching lines...) Expand all
22 #include <sys/stat.h> // open 22 #include <sys/stat.h> // open
23 #include <fcntl.h> // open 23 #include <fcntl.h> // open
24 #include <unistd.h> // sysconf 24 #include <unistd.h> // sysconf
25 #include <strings.h> // index 25 #include <strings.h> // index
26 #include <errno.h> 26 #include <errno.h>
27 #include <stdarg.h> 27 #include <stdarg.h>
28 #include <sys/procfs.h> 28 #include <sys/procfs.h>
29 29
30 #undef MAP_TYPE 30 #undef MAP_TYPE
31 31
32 #include "v8.h" 32 #include "src/v8.h"
33 33
34 #include "platform.h" 34 #include "src/platform.h"
35 #include "v8threads.h" 35 #include "src/v8threads.h"
36 36
37 37
38 namespace v8 { 38 namespace v8 {
39 namespace internal { 39 namespace internal {
40 40
41 // 0 is never a valid thread id on Qnx since tids and pids share a 41 // 0 is never a valid thread id on Qnx since tids and pids share a
42 // name space and pid 0 is reserved (see man 2 kill). 42 // name space and pid 0 is reserved (see man 2 kill).
43 static const pthread_t kNoThread = (pthread_t) 0; 43 static const pthread_t kNoThread = (pthread_t) 0;
44 44
45 45
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 bool VirtualMemory::ReleaseRegion(void* base, size_t size) { 368 bool VirtualMemory::ReleaseRegion(void* base, size_t size) {
369 return munmap(base, size) == 0; 369 return munmap(base, size) == 0;
370 } 370 }
371 371
372 372
373 bool VirtualMemory::HasLazyCommits() { 373 bool VirtualMemory::HasLazyCommits() {
374 return false; 374 return false;
375 } 375 }
376 376
377 } } // namespace v8::internal 377 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/platform-posix.cc ('k') | src/platform-solaris.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698