mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-26 05:25:00 -07:00
test cycles made from weak symbols
This commit is contained in:
committed by
Ryan Fleury
parent
2c6db1b566
commit
f39397fa78
@@ -786,6 +786,12 @@ os_process_detach(OS_Handle handle)
|
||||
NotImplemented;
|
||||
}
|
||||
|
||||
internal B32
|
||||
os_process_kill(OS_Handle handle)
|
||||
{
|
||||
NotImplemented;
|
||||
}
|
||||
|
||||
////////////////////////////////
|
||||
//~ rjf: @os_hooks Threads (Implemented Per-OS)
|
||||
|
||||
|
||||
@@ -257,6 +257,7 @@ internal OS_Handle os_process_launch(OS_ProcessLaunchParams *params);
|
||||
internal B32 os_process_join(OS_Handle handle, U64 endt_us);
|
||||
internal B32 os_process_join_exit_code(OS_Handle handle, U64 endt_us, int *exit_code_out);
|
||||
internal void os_process_detach(OS_Handle handle);
|
||||
internal B32 os_process_kill(OS_Handle handle);
|
||||
|
||||
////////////////////////////////
|
||||
//~ rjf: @os_hooks Threads (Implemented Per-OS)
|
||||
|
||||
@@ -1086,6 +1086,14 @@ os_process_join_exit_code(OS_Handle handle, U64 endt_us, int *exit_code_out)
|
||||
return result;
|
||||
}
|
||||
|
||||
internal B32
|
||||
os_process_kill(OS_Handle handle)
|
||||
{
|
||||
HANDLE process = (HANDLE)handle.u64[0];
|
||||
BOOL was_terminated = TerminateProcess(process, 999);
|
||||
return was_terminated;
|
||||
}
|
||||
|
||||
internal void
|
||||
os_process_detach(OS_Handle handle)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user