Commit graph

2318 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
3e44d52978 Fixed typo in _ecl_big_set_fixnum() for (long < cl_fixnum) 2012-08-19 22:15:45 +02:00
Juan Jose Garcia Ripoll
806a6553f7 Fix further typos: long_Long instead of long_long 2012-08-19 21:25:43 +02:00
Juan Jose Garcia Ripoll
ca370bf29f New symbol :win64 needed by ffi.d 2012-08-19 20:41:40 +02:00
Juan Jose Garcia Ripoll
0a0f5c4583 winsock_stream_listen() was broken -- it relied on old code for unread_char. 2012-08-18 20:21:06 +02:00
Juan Jose Garcia Ripoll
158f4281f7 Fix bytecode disassembler for OP_GO 2012-08-18 20:19:59 +02:00
Juan Jose Garcia Ripoll
db7c2edf2e wait-for-all-processes must take a :process argument because is also a signal catcher (J. James) 2012-08-15 20:58:04 +02:00
Juan Jose Garcia Ripoll
1112bb12fb Add prototypes for functions in gc/private/gc_priv.h which are needed by ECL. 2012-08-15 20:14:18 +02:00
Juan Jose Garcia Ripoll
e68d07fd86 Fixed uninitialized variable to keep compiler happy. 2012-08-15 20:12:00 +02:00
Juan Jose Garcia Ripoll
8bcda88165 Fixed typo in hash.d 2012-08-15 20:11:03 +02:00
Juan Jose Garcia Ripoll
c5789e152c Fixed typo ulong_Long -> ulong_long 2012-08-15 20:10:18 +02:00
Juan Jose Garcia Ripoll
d7a072b4ad Removed unused statements in unixint.d 2012-08-15 20:02:55 +02:00
Juan Jose Garcia Ripoll
c1794d9c38 No need to save errno in fpe_signal_handler because this handler does not return. 2012-08-15 20:02:18 +02:00
Juan Jose Garcia Ripoll
7a4a98d020 The owner of a lock now passes ownership to the first waiting process. 2012-07-30 22:49:56 +02:00
Juan Jose Garcia Ripoll
14d2960135 Use a spinlock for a thread wait until its process structure is completed by its parent. Rename waiting_for to woken_up for the real application it has. 2012-07-30 22:11:50 +02:00
Juan Jose Garcia Ripoll
0bc0dcf523 Remove statements that attempted at prioritizing the waiting queue and a bogus optimization that layed outside the appropriate locks 2012-07-29 22:03:32 +02:00
Juan Jose Garcia Ripoll
7638ca49ab Sacrifice fairness from the wait queue because otherwise we miss events. 2012-07-28 00:11:15 +02:00
Juan Jose Garcia Ripoll
469c8a520f Save the errors caused by the dynamic linker in the codeblock object 2012-07-23 22:48:00 +02:00
Juan Jose Garcia Ripoll
dee2506a28 Avoid using GC_call_with_alloc_lock, because the GC lock is not recursive 2012-07-22 22:13:21 +02:00
Juan Jose Garcia Ripoll
52f6efc2a0 Fixed typo in process.d 2012-07-22 22:12:57 +02:00
Juan Jose Garcia Ripoll
13cb83fa3a Small time hack in main.d to prevent hanging in OS X 2012-07-22 22:12:39 +02:00
Juan Jose Garcia Ripoll
45a4f95da9 dlopen/dlclose must be called with the alloc lock because of a race condition in the GC library 2012-07-22 18:25:25 +02:00
Juan Jose Garcia Ripoll
00b5c5cc00 In the Windows handler for floating point exceptions, exceptions must be cleared up so as to prevent an infinite loop. 2012-07-15 23:44:53 +02:00
Juan Jose Garcia Ripoll
23d5394a2e When a condition variable is signaled, it does not suffice to wakeup the process: we have to remove it. This is so because two consecutive calls to condition-variable-signal must delete two different processes. 2012-07-13 23:46:14 +02:00
Juan Jose Garcia Ripoll
9287a516ff Yet another iteration for condition variables: now the lock is only released only once the thread has been added to the queue. 2012-07-13 21:35:38 +02:00
Juan Jose Garcia Ripoll
595f3dbe58 The previous implementation of condition variables was wrong: it assumed that the signaling thread did not own the lock. 2012-07-11 00:06:33 +02:00
Juan Jose Garcia Ripoll
bf871eba33 The load-compile lock is now recursive 2012-07-08 20:42:17 +02:00
Juan Jose Garcia Ripoll
0d07b0164a When removing a SETF definition, we cannot drop the pair, because it may be used by some compiled code. 2012-07-08 00:12:39 +02:00
Juan Jose Garcia Ripoll
e54d9a6173 Rename type_of -> ecl_t_of 2012-07-05 23:07:34 +02:00
Juan Jose Garcia Ripoll
85597eb2f2 Remove unused function ihs_top_function_name() 2012-07-05 22:30:41 +02:00
Juanjo Garcia-Ripoll
ea70e1a682 Added ECL_HANDLER_CASE as a C macro. 2012-07-03 17:29:32 +02:00
Juanjo Garcia-Ripoll
7432a8aa7d si_bind_simple_restarts() should do nothing in ecl_min until everything is loaded 2012-07-03 12:46:39 +02:00
Juanjo Garcia-Ripoll
9d4a68897a Fixed typo in process.d 2012-07-03 11:18:45 +02:00
Juan Jose Garcia Ripoll
e1fb39a49b Changed the name of the macro ECL_RESTARTS_TRY to ECL_RESTART_CASE 2012-07-02 23:21:34 +02:00
Juan Jose Garcia Ripoll
84a3200a02 Implemented a simple variant of RESTART-CASE in C. Used it to bind the restart ABORT on every thread. Introduced the function ecl_setq() 2012-07-02 22:49:27 +02:00
Juan Jose Garcia Ripoll
aa41c02196 Rename struct macros, STYPE, SNAME, SLOTS, SLOT, SLENGTH and move the old names to legacy.h 2012-06-30 23:34:05 +02:00
Juan Jose Garcia Ripoll
3281047165 Renamed CLASS_* and moved to legacy.h 2012-06-30 23:21:06 +02:00
Juan Jose Garcia Ripoll
825fc8cbd3 Cnil and Ct are now part of legacy 2012-06-30 23:01:40 +02:00
Juan Jose Garcia Ripoll
738d844fc0 Prefix the smm_ enumeration values 2012-06-30 22:11:48 +02:00
Juan Jose Garcia Ripoll
288d5e8ce6 Force LISTP,CONSP,ATOM and SYMBOLP into legacy.h 2012-06-30 21:59:10 +02:00
Juan Jose Garcia Ripoll
0131e2131d Renamed ecl_bds_ptr and ecl_ihs_ptr and the corresponding structs 2012-06-30 21:39:22 +02:00
Juan Jose Garcia-Ripoll
efadef99dc Prefix the block creation macros, ECL_BLOCK_*, etc 2012-06-30 12:01:44 +02:00
Juan Jose Garcia-Ripoll
8441a08c97 VALUES() is now part of legacy.h 2012-06-30 11:48:01 +02:00
Juan Jose Garcia Ripoll
d9ca3abe59 return0, return1 and returnn part of legacy.h 2012-06-30 09:26:53 +02:00
Juan Jose Garcia Ripoll
fe631c483e NVALUES is now part of legacy.h 2012-06-30 09:14:21 +02:00
Juan Jose Garcia Ripoll
d6a56f0596 Redefine CHAR_CODE_LIMIT -> ECL_CHAR_CODE_LIMIT 2012-06-27 22:16:39 +02:00
Juanjo Garcia-Ripoll
5f02f412c9 Fixed typos propagated by query-replace-ecl 2012-06-27 10:06:14 +02:00
Juan Jose Garcia-Ripoll
05a16801ca Rename cl_va_* macros to ecl_va_* 2012-06-24 20:46:55 +02:00
Juan Jose Garcia Ripoll
a2fe30393f Prefix the function argument limits 2012-06-22 23:47:45 +02:00
Juan Jose Garcia Ripoll
41b26f98b4 Removed debug statement. 2012-06-20 21:15:16 +02:00
Juanjo Garcia-Ripoll
dfbb4b6c26 ECL must change the mode of open files to _O_BINARY so that its external formats take effect 2012-06-17 16:27:18 +02:00