Re: Thread configure flag

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Thread configure flag
Date: 2003-06-17 18:03:58
Message-ID: 80340000.1055873038@lerlaptop.iadfw.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

--On Tuesday, June 17, 2003 20:02:00 +0200 Peter Eisentraut
<peter_e(at)gmx(dot)net> wrote:

> Tom Lane writes:
>

> SUSv3 documents a number of xxx_r() functions, but it doesn't speak of
> _REENTRANT or _THREAD_SAFE anywhere.
>
> So what I'm looking for is some documentation that states that such and
> such flags is required to get such and such effect.
On UnixWare, you NEED to use -Kthread or -Kpthread, to get a Threads
version.

There are a NUMBER of functions that get wrapped, etc when these flags are
specified.

They also call in libthread.so.

The doc at http://www.lerctr.org:8458/ might prove useful as a real-life
example of
a threaded kernel.

LER

>
> --
> Peter Eisentraut peter_e(at)gmx(dot)net
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2003-06-17 18:14:59 Re: Thread configure flag
Previous Message Peter Eisentraut 2003-06-17 18:02:00 Re: Thread configure flag