Skip to main content
get_current_process_id
atmos
0.1.0
In atmos::
kernel::
scheduler
atmos
::
kernel
::
scheduler
Function
get_
current_
process_
id
Copy item path
Source
pub fn get_current_process_id() ->
Option
<
usize
>
Expand description
現在実行中のプロセスのPIDを取得します。 try_lock が失敗した場合は None を返します。