xref: /titanic_41/usr/src/man/man2/yield.2 (revision 979bfc6b3147fce227943f8095a6d30cb9f7870c)
te
Copyright (c) 1997, Sun Microsystems, Inc. All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
YIELD 2 "Jul 20, 1993"
NAME
yield - yield execution to another lightweight process
SYNOPSIS

#include <unistd.h>

void yield(void);
DESCRIPTION

The yield() function causes the current lightweight process to yield its execution in favor of another lightweight process with the same or greater priority.

SEE ALSO

thr_yield(3C)