comparison 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
comparison
equal deleted inserted replaced
97:22494cc28c9f 98:604bd4ee3ed4
66 66
67 #endif /* __APPLE__ */ 67 #endif /* __APPLE__ */
68 68
69 #endif /* ! _WIN32 */ 69 #endif /* ! _WIN32 */
70 70
71 enum ProcessStatus { ProcessRunning, ProcessNotRunning, UnknownProcessStatus };
72 extern ProcessStatus GetProcessStatus(int pid);
73
71 #endif /* ! _SYSTEM_H_ */ 74 #endif /* ! _SYSTEM_H_ */
72 75
73 76