Juan Jose Garcia Ripoll
29bc665a5e
Protect shared library operations from interrupts.
2008-10-12 00:07:43 +02:00
Juan Jose Garcia Ripoll
5f2fdff008
Protect shared library operations from interrupts.
2008-10-12 00:07:10 +02:00
Juan Jose Garcia Ripoll
5a41a55a2d
Since dpp now generates code that uses 'the_env', it has to be defined in functions that use @(return)
2008-10-11 23:47:40 +02:00
Juan Jose Garcia Ripoll
ed584a62c5
Deprecate name: cl_dealloc (-> ecl_dealloc)
2008-10-11 23:14:54 +02:00
Juan Jose Garcia Ripoll
0126a558fb
Eliminate more uses of fake variable cl_env
2008-10-11 23:09:45 +02:00
Juan Jose Garcia Ripoll
7c5ab4f1fb
Some functions now take a cl_env_ptr argument, becoming better isolated.
2008-10-11 22:32:54 +02:00
Juan Jose Garcia Ripoll
e0100efe51
Interrupts have to be explicitely activated at the thread entry point.
2008-10-11 20:19:51 +02:00
Juan Jose Garcia Ripoll
162b934fc4
Reactivate use of thread local storage via __thread flag.
2008-10-11 20:16:08 +02:00
Juan Jose Garcia Ripoll
774c4dd185
Factor the code for setting the thread environment.
2008-10-11 19:49:56 +02:00
Juan Jose Garcia Ripoll
d74230e758
Replaced multiple references to cl_env by a single call to ecl_process_env
2008-10-11 19:38:23 +02:00
Juan Jose Garcia Ripoll
18f24ea071
Fixed typo and removed debug statement.
2008-10-11 19:38:04 +02:00
Juan Jose Garcia Ripoll
55cea1530c
If signals arrive before we have created an environment, we abort.
2008-10-11 19:18:29 +02:00
Juan Jose Garcia Ripoll
cbe49afc5b
Unify the sources for windows and posix threads
2008-10-11 11:38:15 +02:00
Juan Jose Garcia Ripoll
6bd1b30f5e
start/end_critical_section does not make sense any more
2008-10-10 23:25:20 +02:00
Juan Jose Garcia Ripoll
8bf59c96ad
When resizing the stack, enclose the update in an interrupts-free region
2008-10-10 22:56:15 +02:00
Juan Jose Garcia Ripoll
5bda4b4f61
All allocation functions are now in the ECL library and they now have the ecl_* prefix. Old names are kept in macro form.
2008-10-10 22:36:15 +02:00
Juan Jose Garcia Ripoll
8ad4ad98a3
Interrupts are now deferred for all I/O operations
2008-10-10 17:08:14 +02:00
Juan Jose Garcia Ripoll
3305c9c0fd
I/O now retries the operation which was interrupted by a signal.
2008-10-10 16:34:50 +02:00
Juan Jose Garcia Ripoll
b5119bfb90
Add a configuration flag for using mprotect.
...
Add an implementation of interrupt disable/enable without mprotect.
Set up interrupt barriers around I/O operations.
Force error routines to enable interrupts.
2008-10-08 23:49:31 +02:00
Juan Jose Garcia Ripoll
45ab6f72fe
New signal handlers which delay signals until an interruptible safe point is reached.
2008-10-07 23:59:57 +02:00
Juan Jose Garcia Ripoll
edae4ae652
Every file now has an array with the functions it defines.
2008-10-06 22:00:52 +02:00
Juan Jose Garcia Ripoll
5ba1221a49
TYPE-OF didn't output any value when the argument was a list.
2008-10-05 19:30:09 +02:00
Juan Jose Garcia Ripoll
38019ca33f
The reader for logical pathnames always sets a non-NIL directory. GETCWD/CHDIR now affect *default-pathname-defaults*. *default-pathname-defaults* is set to the current directory on startup
2008-10-05 16:52:46 +02:00
Juan Jose Garcia Ripoll
825599ef07
Some symbols move to EXT package
2008-10-05 14:34:26 +02:00
Juan Jose Garcia Ripoll
82dfdc15b8
Move some documentation from help.lsp to the files where functions are defined. Add documentation for a few functions.
2008-10-05 13:24:42 +02:00
Juan Jose Garcia Ripoll
a117628dc4
The symbol *interrupt-enable* might not be defined before the first interrupt comes
2008-10-05 10:21:13 +02:00
Juan Jose Garcia Ripoll
a11903a1fe
Fixed problem with argument of WEXITSTATUS
2008-10-05 10:16:38 +02:00
Juan Jose Garcia Ripoll
3f1419fe35
New flag --with-signed-zero (Juanjo). RUN-PROGRAM now returns exit code of program (Josh Elsasser).
2008-10-05 00:04:15 +02:00
Juan Jose Garcia Ripoll
b32826a3f0
Treat RLIM_INFINITY separately
2008-10-02 12:37:33 +02:00
Juan Jose Garcia Ripoll
7e7bd0fbb4
When setting the C stack size, add the safety area
2008-10-02 12:18:26 +02:00
Juan Jose Garcia Ripoll
c0a1638b99
Added stack checks to ecl_interpret
2008-10-02 12:03:40 +02:00
Juan Jose Garcia Ripoll
fc33c6e15e
We chose a too large default size for the C stack
2008-10-02 12:03:02 +02:00
Juan Jose Garcia Ripoll
89a5283927
Implemented an interface for setting/querying options with numeric values and used it for stack sizes and limits.
2008-10-02 11:11:58 +02:00
Juan Jose Garcia Ripoll
ff71417821
Fix typo in handling of options
2008-10-02 09:35:52 +02:00
Juan Jose Garcia Ripoll
e68bf0204e
Not all signals are defined in all platforms (SIGBUS is missing on Windows)
2008-10-02 09:35:43 +02:00
jjgarcia
f568712bc4
Code for detecting stack overflows, grown on top of ideas from Geo Carncross.
2008-09-30 21:09:35 +00:00
jjgarcia
612ef5b5f5
WinSock.h is needed for struct timeval (Claus Brod)
2008-09-28 22:41:44 +00:00
jjgarcia
23a3c78611
Now frame stack overflows can also be recovered. Functions for enlarging stack sizes.
2008-09-28 22:15:24 +00:00
jjgarcia
1a8633a0fe
-0.0 and 0.0 do no longer compare EQL
2008-09-28 20:14:18 +00:00
jjgarcia
140f0611a7
The reader and the printer understand negative zeros.
2008-09-28 20:14:00 +00:00
jjgarcia
22538df177
FLOAT-SIGN returns the right value on negative zeros.
2008-09-28 20:11:58 +00:00
jjgarcia
8b1c69589a
ECL now signals a STACK-OVERFLOW condition when the binding stack grows too much
2008-09-28 20:11:38 +00:00
jjgarcia
9a2b12e34c
struct timeval is now defined in windows as well.
2008-09-19 17:23:30 +00:00
jjgarcia
7839fb9987
Windows.h is needed for shellapi.h
2008-09-19 17:23:16 +00:00
jjgarcia
44f137a3a4
New configuration flag, --without-fpe, to disable floating point exception code in platforms that have buggy implementations of feenableexcept().
2008-09-09 20:11:04 +00:00
jjgarcia
f40e78e063
Add patches that were missing
2008-09-04 20:50:17 +00:00
jjgarcia
d94977d507
Missing header for mingw.
2008-09-01 19:13:14 +00:00
jjgarcia
881af8a9eb
Let sharp-equal (#n=) reader macros work inside a sharp-dot.
2008-09-01 19:07:50 +00:00
jjgarcia
fff7731bec
By using WIN32_LEAN_AND_MEAN we removed some critical headers
2008-08-28 19:10:13 +00:00
jjgarcia
d6e1da448a
Fixed typo
2008-08-25 14:03:38 +00:00