'\"macro stdmacro .TH "Frame Scheduler" 3 .SH NAME \f4frs_premove\f1, \f4frs_pthread_remove\f1 \- remove a process/thread from a frame scheduler minor frame queue .SH SYNOPSIS \f4#include \f1 .br \f4#include \f1 .P \f4int frs_premove(frs_t* \f2frs\fP, int \f2minor_frame\fP, pid_t \f2pid\fP);\f1 .P \f4int frs_pthread_remove(frs_t* \f2frs\fP, int \f2minor_frame\fP, pthread_t \f2pthread\fP);\f1 .fi .SH DESCRIPTION \f4frs_premove\fP removes the specified process \f2pid\fP from the \f2minor_frame\fP of frame scheduler object \f2frs\fP. .P \f4frs_pthread_remove\fP removes the specified \f2pthread\fP from the \f2minor_frame\fP of frame scheduler object \f2frs\fP. .P The frame scheduler queue removal operations will fail if one or more of the following conditions are true: .TP 15 .SM \%[EINVAL] Invalid frame scheduler object or minor frame. .TP 15 .SM \%[EPERM] No permission to execute frame scheduler functions. .TP 15 .SM \%[ENODEV] The REACT/Pro Frame Scheduler Subsystem has not been installed. .SH "DIAGNOSTICS" Upon successful completion, \f4frs_premove\fP and \f4frs_pthread_remove\fP will return 0. Otherwise, -1 is returned and errno is set to indicate the error. .SH "SEE ALSO" \f4frs_destroy\f1(3), \f4frs_enqueue\f1(3), \f4frs_pthread_enqueue\f1(3), \f4frs_pinsert\f1(3), \f4frs_pthread_insert\f1(3) .P The REACT Real-Time Programmer's Guide (insight(1)) covers Frame Scheduler principles and usage in detail. .P Frame scheduler programming examples (if installed) can be found in the following directory: /usr/share/src/react/examples.