Re: SVGAlib and pthreads

Search this archive.

From: David Gauchard (gauchard@laas.fr)
Date: Wed 30 Sep 1998 - 10:01:16 IST


> > Anyone have any experience getting SVGAlib to work with libpthreads?
> > pthread_create() throws my prog back into text mode...
> > 
> 
> Yes!  I had the exact same problem at one point.  Only problem is I dont
> remember how I fixed it... :)(maybe that I moved the pthread_create()s to
> before vga_init()... *shrug*)  You can see my (functioning) program
> though(attached)...  Its a cute little mandelbrot zoomer.  Have fun!

I read in a thread faq that both svgalib and libpthread used
the SIGUSR1 and SIGUSR2 signals.
Maybe thats the source of the problem, one solution was to 
recompile svgalib or libpthread with other unused signals,
or to wait for a new implementation of the signals that would
code them on 64 bits instead of 32.

hope this helps

david


This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:22 IST