Commit graph

5099 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
607ecaea2a The list of processes now has a fill pointer 2012-03-17 19:35:07 +01:00
Juan Jose Garcia Ripoll
fad8ebefae Fixed unbalanced parenthesis in alloc_2.d 2012-03-17 19:34:48 +01:00
Juan Jose Garcia Ripoll
d5bfaa2e9c The CLOS cache no longer uses a global lock 2012-02-19 23:12:53 +01:00
Juan Jose Garcia Ripoll
de42c0c0fb Added ecl_atomic_get() which extracts the value of a field and replaces it with NIL 2012-02-19 23:12:29 +01:00
Juan Jose Garcia Ripoll
67002663ae Creation/destruction of global variable identifiers does not require a lock. 2012-02-19 22:56:10 +01:00
Juan Jose Garcia Ripoll
3874f89eb7 Separate file for atomic operations 2012-02-19 22:55:46 +01:00
Juan Jose Garcia Ripoll
917ea9f3b0 ecl_interrupt_process() now accepts also NIL as an argument, implying that we only want to wake up the process. 2012-02-19 22:17:25 +01:00
Juan Jose Garcia Ripoll
ce73d0a60a Implemented a wait queue for locks and other events. 2012-02-19 01:23:06 +01:00
Juan Jose Garcia Ripoll
632f584598 Got rid of the signal_queue_lock in cl_core, replacing it with atomic operations. 2012-02-19 01:23:06 +01:00
Juan Jose Garcia Ripoll
28b007b0d9 In do_interrupt_process(), the queue lock was held. 2012-02-19 00:55:53 +01:00
Juan Jose Garcia Ripoll
9707940125 The process list is now an array 2012-02-18 20:16:06 +01:00
Juan Jose Garcia Ripoll
0e1d0226b2 Explicitly mark the current thread environment, just in case it was not properly installed in cl_core.processes (this happens when registering external threads). 2012-02-18 10:48:48 +01:00
Juan Jose Garcia Ripoll
14c352593b Implemented an interruptible version of musleep() also for Windows. 2012-02-18 10:48:47 +01:00
Juanjo Garcia-Ripoll
08d461f564 When using nanosleep() wait only for the time that is remaining. 2012-02-17 14:36:36 +01:00
Juan Jose Garcia Ripoll
70b3b2635e Remove implicit type declarations in DEFMETHOD because the arguments to the function may be changed by the body itself. 2012-02-16 23:23:15 +01:00
Juan Jose Garcia Ripoll
1628fe2781 In ecl_read_object_with_delimiter fixed arguments for error message (red plait). 2012-02-16 21:59:45 +01:00
Juan Jose Garcia Ripoll
cd65c21270 Slight optimization of unlikely error conditions in mutex.d 2012-02-13 22:26:52 +01:00
Juan Jose Garcia Ripoll
d5296f2563 Implement mutexes using CAS. Deactivate condition variables temporarily. 2012-02-12 23:31:29 +01:00
Juan Jose Garcia Ripoll
8f9ee9ab41 Fixed typo in Windows' implementation of mmap 2012-02-12 15:26:10 +01:00
Juan Jose Garcia Ripoll
4ec9cdf4cf When compiling twice a block, ensure that load-time forms are removed. 2012-02-10 09:23:42 +01:00
Juan Jose Garcia Ripoll
5909bb0621 Removed debug statement. 2012-02-09 23:37:01 +01:00
Juan Jose Garcia Ripoll
e91a793052 Fixed use of FEtype_error_index 2012-02-09 23:03:22 +01:00
Juan Jose Garcia Ripoll
358233204a Repeated eval-when statements made defstruct forms execute twice in the :compile-toplevel environment. 2012-02-09 23:03:01 +01:00
Juan Jose Garcia Ripoll
991bc3ab78 Changed reader/writer syntax for bytecodes so that shared constants remain shared. 2012-02-09 23:02:29 +01:00
Juan Jose Garcia Ripoll
bc0c5db519 #\ should not rebind the readtable when reading the character name. 2012-02-09 21:26:27 +01:00
Juan Jose Garcia Ripoll
1424215176 Added support for SSE (red plait). 2012-02-09 21:23:57 +01:00
Juan Jose Garcia Ripoll
8c1f5fa6a0 compile_with_load_time_forms() did not clean up the list of forms. 2012-02-06 23:39:16 +01:00
Juan Jose Garcia Ripoll
f873e36de1 Fixed typo in disassemble (Jerry James) 2012-02-06 22:13:50 +01:00
Juan Jose Garcia Ripoll
ae35b67986 In #*, when the dimension is missing, the size of the vector is uninitialized (Jerry James) 2012-02-06 22:12:22 +01:00
Juan Jose Garcia Ripoll
574f989070 EXT:MMAP did not use its optional argument (Jerry James) 2012-02-06 22:02:31 +01:00
Juan Jose Garcia Ripoll
fd8e3a2d76 Missing #include statements for mempcy(), read(), close() 2012-02-06 21:58:45 +01:00
Juan Jose Garcia Ripoll
e8d8c45e8d Fixed some improper uses of FEtype_error_index (Jerry James) 2012-02-06 21:54:36 +01:00
Juan Jose Garcia Ripoll
a80d6c9459 List both assemblers in MSVC's gmp. 2012-02-06 21:39:32 +01:00
Juan Jose Garcia Ripoll
6220b34e20 vector_push.d has to be added to the MSVC build 2012-02-06 21:38:01 +01:00
Juan Jose Garcia Ripoll
9f81ba6715 List GMP files for P3 and P4 optimizations. 2012-02-06 21:37:44 +01:00
Juan Jose Garcia Ripoll
f5e4b66797 Rewrite vector-push-extend so that MSVC accepts it. 2012-02-06 21:36:43 +01:00
Juan Jose Garcia Ripoll
aaf55b6a46 Fix for type propagation of EXPT 2012-02-06 21:18:52 +01:00
Juanjo Garcia-Ripoll
a3726a2ecc Changed the bytecodes compiler so that constants are stored in a vector and are shared by the main form and all its children (functions) 2012-02-06 17:06:14 +01:00
Juanjo Garcia-Ripoll
fef47c709c ECL-CDB and ECL-CURL still used UTF-8 when not having unicode 2012-02-06 17:06:14 +01:00
Juanjo Garcia-Ripoll
758f8cccce Fixes in quick-sort to improve the worst case performance 2012-02-06 17:06:13 +01:00
Juanjo Garcia-Ripoll
d24682b9fe Moved VECTOR-PUSH-EXTENT into the core because it is needed early in the bytecodes compiler 2012-02-06 17:06:04 +01:00
Juan Jose Garcia Ripoll
b93d32a1a2 In ecl-curl.lisp, work even when Unicode is not available. 2012-02-05 21:06:48 +01:00
Juan Jose Garcia Ripoll
e3af03e02f GET-MACRO-CHARACTER did not default to the standard readtable 2012-02-05 09:40:37 +01:00
Juan Jose Garcia Ripoll
994a6e6770 ECL did not build the help file without unicode 2012-02-05 09:21:47 +01:00
Juan Jose Garcia Ripoll
56e1ff2ac7 Fixes to quick-sort so that it does not stall in the worst case scenario (list already sorted). 2012-02-04 23:57:54 +01:00
Juanjo Garcia-Ripoll
72f7b1ea7d Propagate UNREAD-CHAR from an ECHO-STREAM to its actual input stream (R. M. Kreuter) 2012-02-03 18:29:53 +01:00
Juan Jose Garcia Ripoll
083e6e1e85 Detecting the stack direction did not work with very clever compilers. 2012-02-03 15:16:26 +01:00
Juan Jose Garcia Ripoll
b5862f94db LOAD-TIME-VALUE evaluates its argument in an empty environment (interpreter) 2012-02-03 00:47:02 +01:00
Juan Jose Garcia Ripoll
fcb2699d6f REGISTER-PRE-BUILT-SYSTEM did not "know" that a system name must be a string. 2012-02-02 23:54:19 +01:00
Juan Jose Garcia Ripoll
ca845a76e8 safe_close() did not return output flag. 2012-02-02 23:43:21 +01:00