1 // LAF Base Library 2 // Copyright (c) 2015-2016 David Capello 3 // 4 // This file is released under the terms of the MIT license. 5 // Read LICENSE.txt for more information. 6 7 #ifndef BASE_PROCESS_H_INCLUDED 8 #define BASE_PROCESS_H_INCLUDED 9 #pragma once 10 11 #include "base/ints.h" 12 13 namespace base { 14 15 typedef uint32_t pid; 16 17 pid get_current_process_id(); 18 19 bool is_process_running(pid pid); 20 21 } // namespace base 22 23 #endif 24