webengine/osswebengine/JavaScriptCore/kjs/collector.h
branchRCL_3
changeset 94 919f36ff910f
parent 93 79859ed3eea9
--- a/webengine/osswebengine/JavaScriptCore/kjs/collector.h	Tue Aug 31 16:17:46 2010 +0300
+++ b/webengine/osswebengine/JavaScriptCore/kjs/collector.h	Wed Sep 01 12:28:30 2010 +0100
@@ -44,6 +44,8 @@
   public:
     static void* allocate(size_t s);
     IMPORT static bool collect();
+    IMPORT static void startedExit(bool status);
+    IMPORT static bool isExitInProgress(); 
     static bool isBusy(); // true if an allocation or collection is in progress
 
     static const size_t minExtraCostSize = 256;
@@ -98,6 +100,7 @@
     
     static size_t mainThreadOnlyObjectCount;
     static bool memoryFull;
+    static bool m_exitInProgress; 
   };
 
   // tunable parameters