Re: svgalib & profiling

Search this archive.

From: Todor Prokopov (koprok@newmail.net)
Date: Sun 22 Apr 2001 - 17:17:31 IDT


	Hello!

On 22 Apr 2001, Andy Mortimer wrote:

> It may depend which version you are using, but I believe that 1.4.2 by
> default uses the SIGPROF signal - which the profiler also uses - to
> signal switching between virtual terminals.  When a Debian user hit
> this problem, Matan's comment was:
> 
> + pthreads use USR1 and USR2, so in order to get svgalib to work with
> + pthreads I had to change this. That was in libc5 time. I think that
> + glibc2 with linuxthreads does not use the signals, so it might be safe
> + to return to the old ones.
> 
> The signals to use are set near the end of libvga.h, so if you
> compiled svgalib yourself, you can probably change it there and
> recompile (maybe with a make clean beforehand just in case).

	10x a lot for the advice, I've changed the signals as you told me
and all seems to work just fine :)
	It's probably a good idea to be able to change these signals from
Makefile.cfg, because that's the right place to do this, isn't it?

	Again, 10x for the help! :)

	\<0pR0/<




------------------------------------------------------------------
Unsubscribe:  To:   listbot@svgalib.org
              Body: unsubscribe linux-svgalib


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