1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-14 01:30:19 +02:00
Commit graph

9450 commits

Author SHA1 Message Date
Dirk Herrmann
9089f73c52 * goops.scm (standard-define-class): Changed definition to form
a 'real' macro definition.
2002-11-16 16:29:06 +00:00
Dirk Herrmann
a8a19efc2b * eval.h (SCM_MAKE_ILOC): New macro.
* debug.c (scm_make_iloc):  Use SCM_MAKE_ILOC instead of computing
the iloc bitpattern here.
2002-11-16 16:20:14 +00:00
Dirk Herrmann
c55bcb3297 * syncase.scm (define-syntax, eval-when, fluid-let-syntax,
identifier-syntax, let-syntax, letrec-syntax, syntax, syntax-case,
syntax-rules, with-syntax, include):  Changed definitions to form
'real' macro definitions.
2002-11-16 16:01:06 +00:00
Dirk Herrmann
6aa9ea7c90 * boot-9.scm (define-private, export-syntax, export-syntax):
Fixed my previous fix (blush).
2002-11-16 15:40:27 +00:00
Dirk Herrmann
ab382f5204 * boot-9.scm (define-private, export-syntax, export-syntax):
Changed definitions to form 'real' macro definitions.
2002-11-16 15:05:29 +00:00
Mikael Djurfeldt
7673491416 * coop-pthreads.c, coop-pthreads.h: scm_internal_select should be
part of the API, otherwise it's difficult to write Guile
extensions using non-blocking I/O => moved #include
"libguile/iselect.h" from coop-pthreads.c --> coop-pthreads.h.

* coop-pthreads.c (scm_unlock_mutex): Changed s_lock_mutex -->
s_unlock_mutex.
2002-11-14 17:17:40 +00:00
Marius Vollmer
8b5b4a758c *** empty log message *** 2002-11-10 22:07:10 +00:00
Marius Vollmer
d8db94d601 (USE_THREADS, GUILE_ISELECT): Define always. We define them with
AC_DEFINE and not in some header file so that they are visible exactly
in the same way as they used to be.
2002-11-10 22:06:32 +00:00
Marius Vollmer
ccb8b13859 (USE_THREADS, GUILE_ISELECT): Do not define here. They are defined in
configure.in.
2002-11-10 22:05:22 +00:00
Marius Vollmer
911782b79c Removed SCM_API from function definitions. SCM_API is only for
declarations.
2002-11-10 22:04:26 +00:00
Neil Jerram
8cb6d96d9d Small textual changes to GOOPS manual (for HTML generation). 2002-11-08 00:36:46 +00:00
Neil Jerram
066ca68736 Remove old code that was already commented out. 2002-11-07 20:52:36 +00:00
Mikael Djurfeldt
9be8bb4541 * coop-pthreads.h: Added support for thread specific data to the
generic C API for the coop-pthreads case.
2002-11-07 14:35:08 +00:00
Mikael Djurfeldt
6c214b6217 * threads.c, threads.h (scm_cond_broadcast): Added missing function. 2002-11-07 13:55:25 +00:00
Marius Vollmer
81cf290d2a *** empty log message *** 2002-11-07 13:46:05 +00:00
Marius Vollmer
b3a0f5c3a2 (format): Use 'monitor' properly. Not the definition
needs to be restricted, the actual function needs to be.
2002-11-07 13:45:53 +00:00
Mikael Djurfeldt
e5a830847e * threads.c, threads.h (scm_cond_init): Undo unintentional API
change.
2002-11-07 13:29:12 +00:00
Neil Jerram
d2864c8adb New file for tests related to options interface. 2002-11-06 00:38:44 +00:00
Neil Jerram
3f619266b1 Fix error in recent define-option-interface "simplification".
Fix source breakpoints to cope with port whose filename is #f.
Ensure that position recording is enabled when source breakpoint module loaded.
2002-11-06 00:29:24 +00:00
Neil Jerram
0983f67f09 Simplify code for define-option-interface. 2002-11-04 19:40:49 +00:00
Neil Jerram
8e733f1095 Whitespace and markup fixes. 2002-11-04 19:03:54 +00:00
Neil Jerram
9124ba8de6 Import readline function dynamically when necessary. 2002-11-04 18:58:15 +00:00
Marius Vollmer
7edf178eee *** empty log message *** 2002-11-04 15:43:17 +00:00
Marius Vollmer
79796da5b5 (coop_next_runnable_thread): Removed, wich should have happened when
GUILE_ISELECT was hard-wired.
2002-11-04 15:43:00 +00:00
Marius Vollmer
1e5f92cef1 *** empty log message *** 2002-11-03 22:41:47 +00:00
Marius Vollmer
7caa1b0780 *** empty log message *** 2002-11-03 22:09:33 +00:00
Marius Vollmer
3d7f708f21 * __scm.h (USE_THREADS, GUILE_ISELECT): Define when
SCM_DEBUG_DEPRECATED.  Removed their use thru-out Guile.
2002-11-03 22:09:20 +00:00
Marius Vollmer
5cbed2d017 Do not add "threads.o" to the libobjs, it is now always compiled.
(USE_THREADS, GUILE_ISELECT): Do not define.
2002-11-03 22:08:49 +00:00
Marius Vollmer
5dacb21f59 (libguile_la_SOURCES): Added threads.c
(DOT_DOC_FILES): Added threads.doc.
(DOT_X_FILES): Added threads.x.
(EXTRA_libguile_la_SOURCES): Removed threads.c.
(noinst_HEADERS): Added coop-pthreads.c.
(modinclude_HEADERS): Added coop-pthreads.h.
2002-11-03 22:07:57 +00:00
Marius Vollmer
7b3381f44d (scm_integer_expt): Make 0^z == 0 for z != 0. Also for reals. 2002-11-03 21:57:48 +00:00
Marius Vollmer
eb2c5dcb51 *** empty log message *** 2002-11-03 19:14:33 +00:00
Marius Vollmer
d02655f717 (format): Wrap a monitor around format:format since it is not
thread-safe.
2002-11-03 19:14:08 +00:00
Marius Vollmer
bb11cbf4eb *** empty log message *** 2002-11-03 17:22:21 +00:00
Marius Vollmer
5d5bd0183e Include "_scm.h" before testing HAVE_UNISTD_H. Thanks to Bill
Schottstaedt!
2002-11-03 17:18:28 +00:00
Marius Vollmer
1d4cbbed6e *** empty log message *** 2002-11-03 17:15:14 +00:00
Marius Vollmer
d57ed70201 (scm_integer_expt): Make 0^z == 0 for z != 0. 2002-11-03 17:13:50 +00:00
Marius Vollmer
7f5b1b7739 *** empty log message *** 2002-11-03 01:02:12 +00:00
Marius Vollmer
845944c3d9 (HAVE_RESTARTABLE_SYSCALLS): Do define even when
SCM_COPT_THREADS is defined.
(SCM_SYSCALL): Use EINTR-expection version when SCM_COPT_THREADS
is defined.
2002-11-03 01:01:43 +00:00
Marius Vollmer
05166e1aac Some harmless renamings of internal stuff.
(create_thread): New, generalized version of
scm_call_with_new_thread.
(scm_call_with_new_thread): Use it.
(scm_spawn_thread): New, use create_thread.
2002-11-03 00:48:41 +00:00
Marius Vollmer
d52f53b1ff *** empty log message *** 2002-11-02 01:09:20 +00:00
Marius Vollmer
0019d6a19d Redone completely, you might start testing it now. 2002-11-02 01:02:35 +00:00
Marius Vollmer
cfe062d097 Include <errno.h< so that SCM_SYSCALL is correctly
defined when HAVE_RESTARTABLE_SYSCALLS is not defined.
(HAVE_RESTARTABLE_SYSCALLS): Do not define when USE_COPT_THREADS
is defined.
2002-11-02 01:01:00 +00:00
Marius Vollmer
246c563ba9 fixed mangled comment. 2002-11-02 00:59:04 +00:00
Marius Vollmer
c28b0ba254 Closer, but not there. 2002-10-30 20:28:52 +00:00
Marius Vollmer
cf8ea1a3d1 Updated, but still totally unusable. 2002-10-30 10:41:51 +00:00
Gary Houston
d703aba57a * scheme-modules.texi (Environments): only available when
(ice-9 r5rs) is used.
	* scsh.texi (The Scheme shell (scsh)): current url is www.scsh.net.
2002-10-27 21:26:00 +00:00
Marius Vollmer
a48c626fba *** empty log message *** 2002-10-27 20:47:38 +00:00
Marius Vollmer
57c84ccd60 Updated mutex and condition varable functions. 2002-10-27 20:47:31 +00:00
Marius Vollmer
e2d820a18c *** empty log message *** 2002-10-27 20:36:45 +00:00
Marius Vollmer
30f920c30e *** empty log message *** 2002-10-27 20:29:02 +00:00