AW: AW: Re: beta5 ... - Mailing list pgsql-hackers

From Zeugswetter Andreas SB
Subject AW: AW: Re: beta5 ...
Date
Msg-id 11C1E6749A55D411A9670001FA687963368204@sdexcsrv1.f000.d0188.sd.spardat.at
Whole thread Raw
List pgsql-hackers
> > So, what was the case against using yield (2) ?
> 
> $ man 2 yield
> No entry for yield in section 2 of the manual.
> 
> Lack of portability :-(

I can't beleive that AIX finally has a convenience function that 
is missing in mainstream unix :-)

$man 2 yield
PurposeYields the processor to processes with higher priorities.
Description
The yield subroutine forces the current running process or thread to relinquish
use of the processor. If the run queue is empty when the yield subroutine is
called, the calling process or kernel thread is immediately rescheduled. If the
calling process has multiple threads, only the calling thread is affected. The
process or thread resumes execution after all threads of equal or greater
priority are scheduled to run.

Andreas


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: floating point representation
Next
From: Tom Lane
Date:
Subject: Re: floating point representation