Re: [HACKERS] Re: sched_yield()

Поиск
Список
Период
Сортировка
От Andrew Martin
Тема Re: [HACKERS] Re: sched_yield()
Дата
Msg-id 199803231023.KAA26017@bsmir06.biochem.ucl.ac.uk
обсуждение исходный текст
Список 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@biochem.ucl.ac.uk    (Home) andrew@stagleys.demon.co.uk
URL:   http://www.biochem.ucl.ac.uk/~martin
Tel:   (Work) +44(0)171 419 3890                    (Home) +44(0)1372 275775

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Zeugswetter Andreas
Дата:
Сообщение: AW: [HACKERS] patch for memory overrun on Linux(i386)
Следующее
От: Michael Meskes
Дата:
Сообщение: problem with current snapshot