[vmkit-commits] [vmkit] r60538 - /vmkit/trunk/include/mvm/Threads/Thread.h

Nicolas Geoffray nicolas.geoffray at lip6.fr
Thu Dec 4 06:29:27 PST 2008


Author: geoffray
Date: Thu Dec  4 08:29:27 2008
New Revision: 60538

URL: http://llvm.org/viewvc/llvm-project?rev=60538&view=rev
Log:
[SERVICE] Add a stopping service field to the thread, so that it knows
which service is being killed when signaled.


Modified:
    vmkit/trunk/include/mvm/Threads/Thread.h

Modified: vmkit/trunk/include/mvm/Threads/Thread.h
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/include/mvm/Threads/Thread.h?rev=60538&r1=60537&r2=60538&view=diff

==============================================================================
--- vmkit/trunk/include/mvm/Threads/Thread.h (original)
+++ vmkit/trunk/include/mvm/Threads/Thread.h Thu Dec  4 08:29:27 2008
@@ -123,6 +123,8 @@
 public:
   
   virtual ~Thread() {}
+  virtual void TRACER {}
+
 
   /// clearException - Clear any pending exception of the current thread.
   static void clearException() {
@@ -135,7 +137,11 @@
   void* operator new(size_t sz);
 
   void (*routine)(mvm::Thread*);
-  
+ 
+#ifdef SERVICE
+  VirtualMachine* stoppingService;  
+#endif
+
 };
 
 





More information about the vmkit-commits mailing list