Function wasix::proc_raise_interval
source · pub unsafe fn proc_raise_interval(
sig: Signal,
interval: Timestamp,
repeat: Bool
) -> Result<(), Errno>Expand description
Send a signal to the process of the calling thread on a regular basis
Note: This is similar to setitimer in POSIX.
Parameters
sig- The signal condition to trigger.interval- Time to wait before raising the signal (zero here indicates the signal interval is cancelled)repeat- Flag that indicates if the signal will trigger indefinately