wasix::lib_generated64

Function 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