| Index: src/v8threads.h
|
| diff --git a/src/v8threads.h b/src/v8threads.h
|
| index 3f81f5706f8ebdcfe94db65217bc526caa8658f7..f808e54fedc8f3351d15895b96c499bae4358d09 100644
|
| --- a/src/v8threads.h
|
| +++ b/src/v8threads.h
|
| @@ -86,6 +86,7 @@ class ThreadManager : public AllStatic {
|
|
|
| static void ArchiveThread();
|
| static bool RestoreThread();
|
| + static bool IsArchived();
|
|
|
| static void Iterate(ObjectVisitor* v);
|
| static void MarkCompactPrologue(bool is_compacting);
|
| @@ -94,6 +95,7 @@ class ThreadManager : public AllStatic {
|
|
|
| static int CurrentId();
|
| static void AssignId();
|
| + static bool HasId();
|
|
|
| static void TerminateExecution(int thread_id);
|
|
|
| @@ -101,7 +103,7 @@ class ThreadManager : public AllStatic {
|
| private:
|
| static void EagerlyArchiveThread();
|
|
|
| - static int next_id_; // V8 threads are identified through an integer.
|
| + static int last_id_; // V8 threads are identified through an integer.
|
| static Mutex* mutex_;
|
| static ThreadHandle mutex_owner_;
|
| static ThreadHandle lazily_archived_thread_;
|
|
|