Reviewers: Michael Starzinger,
Message:
Hey Michi,
This is mostly mechnical refactoring.
PTAL
(had to create a new CL because of the damn broken git cl "base files
missing"
crap $*%&!$#!)
Description:
Cleanup Mutex and related classes.
Drop the previous Mutex and ScopedLock classes from platform files.
Add new Mutex, RecursiveMutex and LockGuard classes, which are
designed after their C++11 counterparts, so that at some point
we can simply drop our custom code and switch to the C++11
classes. We distinguish regular and recursive mutexes, as the
latter don't work well with condition variables, which will be
introduced by a followup CL.
Please review this at https://codereview.chromium.org/23625003/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/assembler.cc
M src/d8-debug.h
M src/d8-debug.cc
M src/d8.h
M src/d8.cc
M src/debug-agent.h
M src/debug-agent.cc
M src/debug.h
M src/debug.cc
M src/gdb-jit.cc
M src/heap.h
M src/heap.cc
M src/isolate.h
M src/isolate.cc
M src/log-utils.h
M src/log-utils.cc
M src/optimizing-compiler-thread.h
M src/optimizing-compiler-thread.cc
M src/platform-cygwin.cc
M src/platform-freebsd.cc
M src/platform-linux.cc
M src/platform-macos.cc
M src/platform-openbsd.cc
M src/platform-posix.cc
M src/platform-solaris.cc
M src/platform-win32.cc
M src/platform.h
M src/sampler.cc
M src/spaces.h
M src/spaces.cc
A src/synchronization/mutex.h
A src/synchronization/mutex.cc
M src/v8.cc
M src/v8globals.h
M src/v8threads.h
M src/v8threads.cc
M src/win32-headers.h
M test/cctest/cctest.gyp
M test/cctest/test-debug.cc
M test/cctest/test-lock.cc
A test/cctest/test-mutex.cc
M test/cctest/test-platform-linux.cc
M tools/gyp/v8.gyp
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.