Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aseprite/laf
/ get_current_process_id
Function
get_current_process_id
base/process.cpp:38–41 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
36
#if LAF_WINDOWS
37
38
pid get_current_process_id()
39
{
40
return (pid)GetCurrentProcessId();
41
}
42
43
bool is_process_running(pid pid)
44
{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected