Reviewers: Erik Corry,

Description:
Fix issue 142:
- Removed the potential for a NULL pointer access in
   ContextSwitcher::PreemptionReceived.
- Removed a leak of the semaphore in the ContexSwitcher thread, by
removing
   the need for this semaphore entirely.
- Added a regression test case which will catch accesses to the
ContextSwitcher
   singleton after it has been stopped.


Please review this at http://codereview.chromium.org/14483

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     src/v8threads.h
   M     src/v8threads.cc
   M     test/cctest/SConscript
   A     test/cctest/test-threads.cc



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to