Re: [HACKERS] Re: sched_yield()

Поиск
Список
Период
Сортировка
От Tom
Тема Re: [HACKERS] Re: sched_yield()
Дата
Msg-id Pine.BSF.3.95q.980321222932.12537A-100000@misery.sdf.com
обсуждение исходный текст
Ответ на Re: sched_yield()  (Mattias Kregert <matti@algonet.se>)
Список pgsql-hackers
On Sun, 22 Mar 1998, Mattias Kregert wrote:

> 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.

  This seems to be part of Posix threads, which means that sched_yield
should only be callable by a thread....  I'm surprised that normal
processes can call sched_yield.  In fact, in most of the environments
you've mentioned, it certainly can't be used outside a thread.

Tom


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

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: [HACKERS] Re: sched_yield()
Следующее
От: dg@illustra.com (David Gould)
Дата:
Сообщение: Re: [HACKERS] patch for memory overrun on Linux(i386)