mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-29 06:20:30 +02:00
bump effective version to 2.2
* .gitignore: * GUILE-VERSION (GUILE_EFFECTIVE_VERSION): * configure.ac: * doc/example-smob/Makefile (CFLAGS, LIBS): * doc/guile.1: * doc/ref/libguile-concepts.texi: * doc/ref/srfi-modules.texi: * doc/ref/vm.texi: * meta/Makefile.am (EXTRA_DIST, pkgconfig_DATA): * meta/guile-config.in (guile-module): * meta/guile-2.2-uninstalled.pc.in: * meta/guile-2.2.pc.in: Bump effective version to 2.2.
This commit is contained in:
parent
21c05db45b
commit
0c81a0c13a
12 changed files with 32 additions and 30 deletions
|
@ -1,5 +1,5 @@
|
|||
CFLAGS = `pkg-config guile-2.0 --cflags`
|
||||
LIBS = `pkg-config guile-2.0 --libs`
|
||||
CFLAGS = `pkg-config guile-2.2 --cflags`
|
||||
LIBS = `pkg-config guile-2.2 --libs`
|
||||
|
||||
O_FILES = image-type.o myguile.o
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
.\" groff -man -Tascii foo.1
|
||||
.\"
|
||||
.\" title section date source manual
|
||||
.TH GUILE 1 "2011-03-04" GNU "GNU Guile 2.0"
|
||||
.TH GUILE 1 "2011-03-04" GNU "GNU Guile 2.2"
|
||||
.
|
||||
.SH NAME
|
||||
guile \- The GNU Project Extension Language
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
@c -*-texinfo-*-
|
||||
@c This is part of the GNU Guile Reference Manual.
|
||||
@c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2005, 2010
|
||||
@c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2005, 2010, 2011
|
||||
@c Free Software Foundation, Inc.
|
||||
@c See the file guile.texi for copying conditions.
|
||||
|
||||
|
@ -449,16 +449,18 @@ that are stored in local variables. When a thread puts itself into
|
|||
guile mode for the first time, it gets a Scheme representation and is
|
||||
listed by @code{all-threads}, for example.
|
||||
|
||||
Threads in guile mode can block (e.g., do blocking I/O) without causing any
|
||||
problems@footnote{In Guile 1.8, a thread blocking in guile mode would prevent
|
||||
garbage collection to occur. Thus, threads had to leave guile mode whenever
|
||||
they could block. This is no longer needed with Guile 2.0.}; temporarily
|
||||
leaving guile mode with @code{scm_without_guile} before blocking slightly
|
||||
improves GC performance, though. For some common blocking operations, Guile
|
||||
provides convenience functions. For example, if you want to lock a pthread
|
||||
mutex while in guile mode, you might want to use @code{scm_pthread_mutex_lock}
|
||||
which is just like @code{pthread_mutex_lock} except that it leaves guile mode
|
||||
while blocking.
|
||||
Threads in guile mode can block (e.g., do blocking I/O) without causing
|
||||
any problems@footnote{In Guile 1.8, a thread blocking in guile mode
|
||||
would prevent garbage collection to occur. Thus, threads had to leave
|
||||
guile mode whenever they could block. This is no longer needed with
|
||||
Guile 2.@var{x}.}; temporarily leaving guile mode with
|
||||
@code{scm_without_guile} before blocking slightly improves GC
|
||||
performance, though. For some common blocking operations, Guile
|
||||
provides convenience functions. For example, if you want to lock a
|
||||
pthread mutex while in guile mode, you might want to use
|
||||
@code{scm_pthread_mutex_lock} which is just like
|
||||
@code{pthread_mutex_lock} except that it leaves guile mode while
|
||||
blocking.
|
||||
|
||||
|
||||
All libguile functions are (intended to be) robust in the face of
|
||||
|
|
|
@ -171,8 +171,8 @@ how to load it with the Guile mechanism.
|
|||
@cindex @code{guile-2} SRFI-0 feature
|
||||
@cindex portability between 2.0 and older versions
|
||||
Likewise, testing the @code{guile-2} feature allows code to be portable
|
||||
between Guile 2.0 and previous versions of Guile. For instance, it
|
||||
makes it possible to write code that accounts for Guile 2.0's compiler,
|
||||
between Guile 2.@var{x} and previous versions of Guile. For instance, it
|
||||
makes it possible to write code that accounts for Guile 2.@var{x}'s compiler,
|
||||
yet be correctly interpreted on 1.8 and earlier versions:
|
||||
|
||||
@example
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
@c -*-texinfo-*-
|
||||
@c This is part of the GNU Guile Reference Manual.
|
||||
@c Copyright (C) 2008,2009,2010
|
||||
@c Copyright (C) 2008,2009,2010,2011
|
||||
@c Free Software Foundation, Inc.
|
||||
@c See the file guile.texi for copying conditions.
|
||||
|
||||
|
@ -79,9 +79,9 @@ but it is not normally used at runtime.)
|
|||
|
||||
The upside of implementing the interpreter in Scheme is that we preserve
|
||||
tail calls and multiple-value handling between interpreted and compiled
|
||||
code. The downside is that the interpreter in Guile 2.0 is slower than
|
||||
the interpreter in 1.8. We hope the that the compiler's speed makes up
|
||||
for the loss!
|
||||
code. The downside is that the interpreter in Guile 2.@var{x} is slower
|
||||
than the interpreter in 1.8. We hope the that the compiler's speed makes
|
||||
up for the loss!
|
||||
|
||||
Also note that this decision to implement a bytecode compiler does not
|
||||
preclude native compilation. We can compile from bytecode to native
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue