| OLD | NEW | 
|---|
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. | 
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without | 
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are | 
| 4 // met: | 4 // met: | 
| 5 // | 5 // | 
| 6 //     * Redistributions of source code must retain the above copyright | 6 //     * Redistributions of source code must retain the above copyright | 
| 7 //       notice, this list of conditions and the following disclaimer. | 7 //       notice, this list of conditions and the following disclaimer. | 
| 8 //     * Redistributions in binary form must reproduce the above | 8 //     * Redistributions in binary form must reproduce the above | 
| 9 //       copyright notice, this list of conditions and the following | 9 //       copyright notice, this list of conditions and the following | 
| 10 //       disclaimer in the documentation and/or other materials provided | 10 //       disclaimer in the documentation and/or other materials provided | 
| (...skipping 20 matching lines...) Expand all  Loading... | 
| 31 #include <signal.h>  // kill | 31 #include <signal.h>  // kill | 
| 32 #include <unistd.h>  // getpid | 32 #include <unistd.h>  // getpid | 
| 33 #endif  // WIN32 | 33 #endif  // WIN32 | 
| 34 #include <string> | 34 #include <string> | 
| 35 #include <map> | 35 #include <map> | 
| 36 | 36 | 
| 37 #include "v8.h" | 37 #include "v8.h" | 
| 38 | 38 | 
| 39 #include "api.h" | 39 #include "api.h" | 
| 40 #include "arguments.h" | 40 #include "arguments.h" | 
|  | 41 #include "cctest.h" | 
|  | 42 #include "compilation-cache.h" | 
|  | 43 #include "cpu-profiler.h" | 
|  | 44 #include "execution.h" | 
| 41 #include "isolate.h" | 45 #include "isolate.h" | 
| 42 #include "compilation-cache.h" |  | 
| 43 #include "execution.h" |  | 
| 44 #include "objects.h" | 46 #include "objects.h" | 
|  | 47 #include "parser.h" | 
|  | 48 #include "platform.h" | 
| 45 #include "snapshot.h" | 49 #include "snapshot.h" | 
| 46 #include "platform.h" | 50 #include "unicode-inl.h" | 
| 47 #include "utils.h" | 51 #include "utils.h" | 
| 48 #include "cctest.h" |  | 
| 49 #include "parser.h" |  | 
| 50 #include "unicode-inl.h" |  | 
| 51 | 52 | 
| 52 static const bool kLogThreading = false; | 53 static const bool kLogThreading = false; | 
| 53 | 54 | 
| 54 using ::v8::AccessorInfo; | 55 using ::v8::AccessorInfo; | 
| 55 using ::v8::Arguments; | 56 using ::v8::Arguments; | 
| 56 using ::v8::Context; | 57 using ::v8::Context; | 
| 57 using ::v8::Extension; | 58 using ::v8::Extension; | 
| 58 using ::v8::Function; | 59 using ::v8::Function; | 
| 59 using ::v8::FunctionTemplate; | 60 using ::v8::FunctionTemplate; | 
| 60 using ::v8::Handle; | 61 using ::v8::Handle; | 
| (...skipping 19540 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 19601   i::Semaphore* sem_; | 19602   i::Semaphore* sem_; | 
| 19602   volatile int sem_value_; | 19603   volatile int sem_value_; | 
| 19603 }; | 19604 }; | 
| 19604 | 19605 | 
| 19605 | 19606 | 
| 19606 THREADED_TEST(SemaphoreInterruption) { | 19607 THREADED_TEST(SemaphoreInterruption) { | 
| 19607   ThreadInterruptTest().RunTest(); | 19608   ThreadInterruptTest().RunTest(); | 
| 19608 } | 19609 } | 
| 19609 | 19610 | 
| 19610 #endif  // WIN32 | 19611 #endif  // WIN32 | 
| OLD | NEW | 
|---|