sys_rt_tgsigqueueinfo

Function sys_rt_tgsigqueueinfo 

Source
pub fn sys_rt_tgsigqueueinfo(
    locked: &mut Locked<Unlocked>,
    current_task: &CurrentTask,
    tgid: pid_t,
    tid: tid_t,
    unchecked_signal: UncheckedSignal,
    siginfo_ref: UserAddress,
) -> Result<(), Errno>
Expand description

The rt_tgsigqueueinfo syscall sends a signal with a payload to a specific thread.

§Args

  • tgid: The thread group ID of the process to send the signal to.
  • tid: The thread ID of the thread to send the signal to.
  • unchecked_signal: The signal to send.
  • siginfo_ref: A pointer to a siginfo_t structure that contains the signal payload.

§Returns

Ok(()) on success. Otherwise, returns an Errno with the error code.