[SDL] http://www.uk.research.att.com/vnc/ : Correctio

Warren Downs warren at businesslink.com
Fri Aug 27 14:57:51 PDT 1999


Who's question were you trying to answer?
I am not compiling with any -D's

Dave
On Thu, 5 Aug 1999, Peter wrote:

> Hi there...
> 
> kwalker at aros.net wrote:
> 
> > On  4 Aug, Leimy wrote:
> > > ARRRGGHHHH!!!   I was trying to use the demo for PThreads that was posted
> > > the other day.  pthread_attr_default doesn't seem to exist.  What am I
> > > doing wrong here?   Sorry it's off topic but this is the only group of
> > > people whom I feel would have a good grasp of how to use this library.
> >
> > Yeah.  That's the one major problem I had wit the tutorial is that it
> > shows that pthread_attr_default which doesn't exist in Linux pthreads.
> > However, after scanning through the SDL source code, I found out that
> > if you use NULL instead, it works.
> >
> > But as long as I'm off topic, can someone tell me if I'm being stupid
> > in thinking that you can fopen() a file in a thread.  I've tried doing
> > some tests and whenever I call fopen(), it returns NULL.  Using open()
> > gets me no farther either.
> 
> Are you compiling your code with -D_REENTRANT? What libc version are you using?
> 
> :-)
> Peter
> 
> >
> >
> > -KW
> 
> --
> -------------------------------------------
> Peter Hawkins
> Internet Solutions Australia
> peterh at isa.net.au
> -------------------------------------------
> 
> 
> 




More information about the SDL mailing list