[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk-devel
Subject: Re: Proposal: complete thread support for glib.
From: Sebastian Wilhelmi <wilhelmi () ira ! uka ! de>
Date: 1999-06-18 7:21:46
[Download RAW message or body]
Hi, Jeff =
> I'm playing with it now. For some reason configure finds
> pthread_attr_setstacksize when it does not exist, on my system.
> (Linux/Alpha, kernel 2.2.10, RedHat 5.2)
> =
> config.log output:
> =
> configure:4958: checking size of pthread_t
> configure:4978: gcc -o conftest -O -Wall -D_REENTRANT conftest.c -lp=
thread 1 >&5
> configure:4970: warning: return-type defaults to `int'
> configure: In function `main':
> configure:4973: warning: int format, different type arg (arg 3)
> configure:5000: checking for pthread_attr_setstacksize
> configure:5009: gcc -c -O -Wall -D_REENTRANT conftest.c 1>&5
> configure: In function `main':
> configure:5005: warning: implicit declaration of function `pthread_attr=
_setstack
> size'
> =
> and...
> =
> [jgarzik@dog glib]$ grep SETSTACKSIZE *.h
> acconfig.h:#undef HAVE_PTHREAD_ATTR_SETSTACKSIZE
> config.h:#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
> =
> Maybe you need to change the test from a TRY_COMPILE sort of test to a
> TRY_LINK sort of test.
Ah, yes, I did it. I actually thought it worked, because I assumed, that =
I
have no such function, but I do. I'm running glibc-2.1 and that does have=
=
pthread_attr_setstacksize. =
Bye,
Sebastian
-- =
Sebastian Wilhelmi | h=E4r ovanf=F6r alla mo=
lnen
mailto:wilhelmi@ira.uka.de | =E4r himmlen s=E5 f=F6runerli=
gt bl=E5
http://goethe.ira.uka.de/~wilhelmi |
--
To unsubscribe: mail gtk-devel-list-request@redhat.com with
"unsubscribe" as the Subject.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic