Ashet OS

syscall: ashet.sync.try_lock

Documentation

Tries to lock a mutex and returns if it was successful.

Inputs

mutex: Mutex

Outputs

is_locked: bool

Errors

InvalidHandle