Reviewers: Søren Gjesse,

Description:
Add multithreading test for SamplingCircularQueue, fix implementation.

This is for the case of Linux, where sampling is done using SIGPROF
signal handler which is executed in the context of an interrupted
thread. In this case, my previous implementation with TLS doesn't
work.

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

Affected files:
  M src/circular-queue-inl.h
  M src/circular-queue.h
  M src/circular-queue.cc
  M src/cpu-profiler.h
  M src/cpu-profiler.cc
  M src/globals.h
  M test/cctest/test-circular-queue.cc
  M test/cctest/test-cpu-profiler.cc


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

To unsubscribe from this group, send email to v8-dev+unsubscribegooglegroups.com or reply 
to this email with the words "REMOVE ME" as the subject.

Reply via email to