Re: sched_yield()
| От | Bruce Momjian |
|---|---|
| Тема | Re: sched_yield() |
| Дата | |
| Msg-id | 199803220359.WAA02341@candle.pha.pa.us обсуждение исходный текст |
| Ответ на | Re: sched_yield() (The Hermit Hacker <scrappy@hub.org>) |
| Список | pgsql-hackers |
> > You missed my point...so far as I've heard, there are two ways of > doing what is being proposed...either using sched_yield() on those systems > that support it, or select() on those that don't. If you are going to > build a patch for this, it should look something like: > > #ifdef HAVE_SCHED_YIELD > <insert sched_yield() code here> > #else > <insert select() code here> > #endif > > Totally 'configure' configurable, and non-system dependent :) Yep, I like it. -- Bruce Momjian | 830 Blythe Avenue maillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026 + If your life is a hard drive, | (610) 353-9879(w) + Christ can be your backup. | (610) 853-3000(h)
В списке pgsql-hackers по дате отправления: