>
> Regarding the stacks of other threads, see ThreadManager::Iterate in
> v8threads.cc and Top::Iterate called from there, but leave that to a
> separate
> change.
>

Hi Soren,

speaking about threads. What stopped me is that there seems to be no public
API in ThreadManager that I could use. I guess I have to add some interface
for my task. Do you have any recommendations about this?

Since LiveEdit is not performance-critical feature, I would suggest some
generic iterator or visitor for ThreadManager.

E.g.
*ThreadManager::IterateThreads(ThreadIterator*);*
*
*
*class ThreadIterator {*
* public:*
*  virtual void VisitThread(ThreadLocalTop*) = 0;*
*};*

Does it look OK?

Peter

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

Reply via email to