diff base/System.h @ 98:604bd4ee3ed4

* Add a method in System.{cpp,h} to try to establish whether a process of a given pid is running or not * Make TempDirectory store its process ID, and clean up any old temporary directories it finds that correspond to non-running processes
author Chris Cannam
date Fri, 05 May 2006 11:28:04 +0000
parents e076e676439b
children 2b1a16e38d2d
line wrap: on
line diff
--- a/base/System.h	Thu May 04 20:17:28 2006 +0000
+++ b/base/System.h	Fri May 05 11:28:04 2006 +0000
@@ -68,6 +68,9 @@
 
 #endif /* ! _WIN32 */
 
+enum ProcessStatus { ProcessRunning, ProcessNotRunning, UnknownProcessStatus };
+extern ProcessStatus GetProcessStatus(int pid);
+
 #endif /* ! _SYSTEM_H_ */