Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sched_yield(2) — DG/UX R4.11MU05

Media Vault

Software Library

Restoration Projects

Artifacts Sought



sched_yield(2)                 DG/UX R4.11MU05                sched_yield(2)


NAME
       sched_yield - give up the job processor

SYNOPSIS
       #include <sched.h>

       int schedyield ()

DESCRIPTION
       A process that calls schedyield(2) voluntarily  gives up the JP to
       an eligible process of equal or better priority. The process yielding
       the JP is added to the eligible list behind processes of equal or
       better priority.  If no eligible process has a scheduling priority
       higher than or equal to that of the calling process, the call has no
       effect.

   Note
        * This routine is based on POSIX realtime extension document P1003.4
          draft 14. It is therefore subject to change.

        * Compilation of a source file using this routine requires that
          feature macro _POSIX4_DRAFT_SOURCE be defined.  This feature macro
          is not enabled by any other feature macro, nor does it enable any
          other feature macro.

        * The compiled routine must be linked to library librte.a.

RETURN VALUE
       The schedyield call returns 0 indicating success. It always
       succeeds.

SEE ALSO
       schedsetparam(2), schedgetparam(2), schedsetscheduler(2),
       schedgetscheduler(2), schedgetprioritymax(2),
       schedgetprioritymin(2), schedrrgetinterval(2).


Licensed material--property of copyright holder(s)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026