Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Threads Library Functionsthr_yield(3THR)


NAME

 thr_yield - yield to another thread

SYNOPSIS

 
cc -mt [ flag... ] file...[ library... ]

#include <thread.h> 
void thr_yield(void);

DESCRIPTION

 

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

RETURN VALUES

 

The thr_yield() function returns nothing and does not set errno.

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
MT-LevelMT-Safe

SEE ALSO

 

thr_setprio(3THR), attributes(5), standards(5)


SunOS 5.9Go To TopLast Changed 12 May 1998

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.