| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org> |
| Subject: | Add thread.c and linkage |
| Date: | 2003-06-14 14:35:17 |
| Message-ID: | 200306141435.h5EEZHC12739@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-patches |
Here is a new file, threads.c, which implements the functions needed for
libpq threading.
One tricky part was to add the threading flags to the compile of just
thread.c. I used:
# compile this with thread flags
thread.o: thread.c
$(CC) $(CFLAGS) $(THREAD_CFLAGS) -c thread.c
I assume that is the correct way to do it.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
| Attachment | Content-Type | Size |
|---|---|---|
| unknown_filename | text/plain | 13.7 KB |
| unknown_filename | text/plain | 2.2 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2003-06-14 17:22:44 | Re: [HACKERS] PostgreSQL libraries - PThread Support, but |
| Previous Message | Bruce Momjian | 2003-06-14 13:59:04 | Re: [HACKERS] PostgreSQL libraries - PThread Support, but |