From: | Tom <tom(at)sdf(dot)com> |
---|---|
To: | Mattias Kregert <matti(at)algonet(dot)se> |
Cc: | The Hermit Hacker <scrappy(at)hub(dot)org>, Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>, Massimo Dal Zotto <dz(at)cs(dot)unitn(dot)it>, hackers(at)postgresql(dot)org |
Subject: | Re: [HACKERS] Re: sched_yield() |
Date: | 1998-03-22 06:32:15 |
Message-ID: | Pine.BSF.3.95q.980321222932.12537A-100000@misery.sdf.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | David Gould | 1998-03-22 08:39:42 | Re: [HACKERS] patch for memory overrun on Linux(i386) |
Previous Message | The Hermit Hacker | 1998-03-22 05:44:50 | Re: [HACKERS] Re: sched_yield() |