From: | Andrew Martin <martin(at)biochemistry(dot)ucl(dot)ac(dot)uk> |
---|---|
To: | hackers(at)postgresql(dot)org |
Subject: | Re: [HACKERS] Re: sched_yield() |
Date: | 1998-03-23 10:23:32 |
Message-ID: | 199803231023.KAA26017@bsmir06.biochem.ucl.ac.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> But sched_yield() is not Linux-specific:
> -- The sched_yield() function relinquishes the processor for the
> -- running process.
> -- IEEE Std 1003.1b-1993, '13.3.5. (POSIX real-time standard 1003.lb)
>
> Except from Linux, I can find references to sched_yield() in LynxOS,
> DECthreads thread library, AIX 4.1 and up (libc), Solaris (thread.h
> (c)1994 Sun
> Microsystems), Unix98, GNU, C EXECUTIVE(r) and PSX(tm) real time kernels
> ...
> This is just a quick search.
>
> Perhaps we should enable sched_yield() for every OS except for... well,
> what's the
> name of that OS which does not have sched_yield()... FreeBSD ;)
>
> After all, sched_yield() is five years old. Any reasonable OS should
> have it.
It appears from man pages on our Irix system that Irix6 has it but Irix5
does not.
Andrew
----------------------------------------------------------------------------
Dr. Andrew C.R. Martin University College London
EMAIL: (Work) martin(at)biochem(dot)ucl(dot)ac(dot)uk (Home) andrew(at)stagleys(dot)demon(dot)co(dot)uk
URL: http://www.biochem.ucl.ac.uk/~martin
Tel: (Work) +44(0)171 419 3890 (Home) +44(0)1372 275775
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Martin | 1998-03-23 10:32:11 | Re: [HACKERS] Re: sched_yield() |
Previous Message | Michael Meskes | 1998-03-23 10:22:25 | problem with current snapshot |