1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-08 22:50:27 +02:00

*** empty log message ***

This commit is contained in:
Neil Jerram 2008-02-07 01:02:33 +00:00
parent 595f4ed74b
commit dcde80f096
4 changed files with 11 additions and 7 deletions

1
NEWS
View file

@ -23,6 +23,7 @@ system and library calls.
** Fixed compilation of `numbers.c' with Sun Studio (Solaris 9) ** Fixed compilation of `numbers.c' with Sun Studio (Solaris 9)
** Fixed wrong-type-arg errors when creating zero length SRFI-4 ** Fixed wrong-type-arg errors when creating zero length SRFI-4
uniform vectors on AIX. uniform vectors on AIX.
** Fixed a deadlock that occurs upon GC with multiple threads.
* New modules (see the manual for details) * New modules (see the manual for details)

1
THANKS
View file

@ -2,6 +2,7 @@ Contributors since the last release:
Rob Browning Rob Browning
Ludovic Courtès Ludovic Courtès
Julian Graham
Stefan Jahn Stefan Jahn
Neil Jerram Neil Jerram
Antoine Mathys Antoine Mathys

View file

@ -1,3 +1,9 @@
2008-02-07 Julian Graham <joolean@gmail.com>
* throw.c (make_jmpbuf): Don't enter critical section during thread
spawn -- there is a possibility of deadlock if other threads are
exiting.
2008-02-06 Neil Jerram <neil@ossau.uklinux.net> 2008-02-06 Neil Jerram <neil@ossau.uklinux.net>
* gc-malloc.c (scm_gc_malloc): Return NULL if requested size is 0. * gc-malloc.c (scm_gc_malloc): Return NULL if requested size is 0.

View file

@ -71,13 +71,9 @@ static SCM
make_jmpbuf (void) make_jmpbuf (void)
{ {
SCM answer; SCM answer;
SCM_CRITICAL_SECTION_START; SCM_NEWSMOB2 (answer, tc16_jmpbuffer, 0, 0);
{ SETJBJMPBUF(answer, (jmp_buf *)0);
SCM_NEWSMOB2 (answer, tc16_jmpbuffer, 0, 0); DEACTIVATEJB(answer);
SETJBJMPBUF(answer, (jmp_buf *)0);
DEACTIVATEJB(answer);
}
SCM_CRITICAL_SECTION_END;
return answer; return answer;
} }