Commit graph

261 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
e950fc51bb Detect the codepage in Windows. 2012-05-19 10:07:48 +02:00
Juan Jose Garcia Ripoll
c7953cc0f5 Signal handlers receive now an optional keyword argument with the process that received the signal. 2012-05-17 08:51:26 +02:00
Juan Jose Garcia Ripoll
618b90c8f4 Added EXT:+SIGRTMIN+ through EXT:+SIGRTMAX+ to the set of handled signals. 2012-05-05 22:02:02 +02:00
Juan Jose Garcia Ripoll
e06d7c7c30 Increased safety area for the BDS binding stack 2012-04-14 11:42:26 +02:00
Juan Jose Garcia Ripoll
e3a426896f The process list is now protected by a spinlock 2012-04-12 23:59:20 +02:00
Juan Jose Garcia Ripoll
036cb55928 Fixes to remove warnings about unused variables. Replaced some uses of @(return) with ecl_return*() 2012-04-10 23:20:40 +02:00
Juan Jose Garcia Ripoll
4c4b58c5cf Fixed various type warnings issued by Clang 2012-04-09 22:31:09 +02:00
Juan Jose Garcia Ripoll
880259cb55 The signal queue is now local to a thread and is protected with a spinlock. 2012-04-08 22:37:22 +02:00
Juan Jose Garcia Ripoll
840f041179 Avoid nested SIGSEGV/BUS interrupts, aborting immediately when it happens 2012-04-08 16:33:23 +02:00
Juan Jose Garcia Ripoll
3980ea5d66 Removed the process.active field and instead used 'process.phase'. Added some debug statements. Threads are launched also with POSIX signals disabled (at least ECL's signal). 2012-04-06 18:07:58 +02:00
Juan Jose Garcia Ripoll
1a9789f271 Directly access the option values array and only block the process interrupt in ecl_wait_on(). 2012-03-29 22:11:29 +02:00
Juan Jose Garcia Ripoll
cacf1be931 mp_process_kill() and mp_process_join() now check whether the process is alive. 2012-03-20 00:02:51 +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
fd8e3a2d76 Missing #include statements for mempcy(), read(), close() 2012-02-06 21:58:45 +01:00
Juan Jose Garcia Ripoll
9d557937b1 Added new dispatch functions for slot accessors. 2011-12-16 22:12:56 +01:00
Juan Jose Garcia Ripoll
198ecd50c2 Split the CLOS cache code into a separate file, with some cleanup in the process. 2011-12-15 00:05:15 +01:00
Juan Jose Garcia Ripoll
b72823aeab SETF functions are now stored in a separate hash table. 2011-12-13 20:53:44 +01:00
Juan Jose Garcia Ripoll
bc7be9bb98 Improved EXT:CATCH-SIGNAL to handle not running processes, threads and better use of sigprocmask. 2011-08-06 22:47:39 +02:00
Juan Jose Garcia Ripoll
aae43ecce3 *load-hooks* and *module-provider-hooks* moved to package EXT 2011-08-01 22:04:33 +02:00
Juan Jose Garcia Ripoll
599f8017e1 Function read_VV is renamed to ecl_init_module() 2011-08-01 15:39:46 +02:00
Juan Jose Garcia Ripoll
e6bb812e38 Protect the GET/SET-SYSPROP hash using the same global lock as packages, which is now called cl_core.global_env read/write-lock 2011-07-31 17:03:24 +02:00
Juan Jose Garcia Ripoll
cb6fc56fc4 Remove the 'thread-safe' argument from remaining calls to cl__make_hash_table 2011-07-31 16:45:34 +02:00
Juan Jose Garcia Ripoll
c9db8ef4ad Removed debug statement. 2011-07-28 22:27:05 +02:00
Juan Jose Garcia Ripoll
126650c6fc Exported the maximum values of long long 2011-07-27 23:33:59 +02:00
Juan Jose Garcia Ripoll
1801c64bff Dedicated function for loaded bytecompiled files 2011-06-05 12:35:35 +02:00
Juan Jose Garcia Ripoll
bcd542c343 Increased C stack limit 2011-04-03 21:13:52 +02:00
Juan Jose Garcia Ripoll
a7000ca0f9 Reimplementation of the SIGCHLD handler -- avoids race conditions using the signal handling thread. 2011-03-13 21:59:36 +01:00
Juan Jose Garcia Ripoll
6e2626ec95 Second attempt at fixing the handling of SIGCHLD. 2011-02-28 00:24:45 +01:00
Juan Jose Garcia Ripoll
1523ae8a5c EXT package created containing the original set of symbols (not yet filtered) and re-exported from SYS 2011-02-27 23:20:12 +01:00
Juan Jose Garcia Ripoll
bc4469906f Trap and use SIGCHLD to update the status of running processes 2011-02-27 16:57:46 +01:00
Juan Jose Garcia Ripoll
a136b663bd Embed the Unicode database in the C library as a sequence of C arrays. 2011-02-20 23:52:24 +00:00
Juan Jose Garcia Ripoll
ac4b1a7b8d Added support for a subset of Unicode (0 - 65535). 2011-02-19 23:46:52 +00:00
Juan Jose Garcia Ripoll
3e2e5f9dc3 EXT:GETENV now coerces its input to type SIMPLE-BASE-STRING. 2011-02-08 23:12:09 +01:00
Juan Jose Garcia Ripoll
794539a29f The list of load hooks was missing the one for files without extension 2011-02-04 23:53:19 +01:00
Juan Jose Garcia Ripoll
c7141dca18 Added loader for fasc extension as bytecodes, instead of reusing fasb for them 2011-02-04 22:57:00 +01:00
Juan Jose Garcia Ripoll
a86bbd3605 Fixed various warnings to allow compiling ECL with CLang 2011-01-23 16:06:47 +01:00
Juan Jose Garcia Ripoll
4a83432e01 ecl_make_simple_base_string() replaces make_simple_base_string() and allows fixing the length. 2011-01-13 23:28:44 +01:00
Juan Jose Garcia Ripoll
f1b60b9de9 Update ECL's old implementation of FORMAT to make it work (J. Jaakkola) 2010-11-21 21:54:10 +01:00
Juan Jose Garcia Ripoll
cf29412c64 Removed init_numbers(), replacing it with static constants in all_symbols.d 2010-11-06 00:06:06 +01:00
Juan Jose Garcia Ripoll
c86c8bd5c0 Move packages to read/write locks 2010-10-24 17:53:44 +02:00
Juan Jose Garcia Ripoll
1e3eb5b62a Global locking is done through three different locks, cl_core.global_lock, error_lock and package_lock. 2010-10-24 17:53:29 +02:00
Juan Jose Garcia Ripoll
89ad07fefc The list of packages to be created is now thread-local and its manipulation is thus thread safe. 2010-10-24 00:00:22 +02:00
Juan Jose Garcia Ripoll
24b9f04161 ECL captures SIGPIPE 2010-10-17 16:49:13 +02:00
Juan Jose Garcia Ripoll
1af0162b6f The compiler package is now part of the ones that are built in 2010-09-12 09:58:33 +02:00
Juan Jose Garcia Ripoll
c4dd32ca96 Third iteration at the problem with packages_to_be_created. Now this variable is associated to a flag that deactivates its use outside read_VV's reader. 2010-09-05 22:43:49 +02:00
Juan Jose Garcia Ripoll
5c63cd8345 When compiling for the Windows API, define ECL_MS_WINDOWS_HOST instead of checking for mingw or _MSC_VER separately (Gabriel Dos Reis) 2010-08-22 22:29:21 +02:00
Juan Jose Garcia Ripoll
a677a3b0c0 Rename features.h -> ecl_features.h because Linux has a header with the same name 2010-08-21 22:46:03 +02:00
Juan Jose Garcia Ripoll
321356dadf cl_core is now mostly filled statically in main.d 2010-08-21 16:31:42 +02:00
Juan Jose Garcia Ripoll
bac154bc98 More of the string constants that are used in main.d are now statically allocated. 2010-08-21 13:25:16 +02:00
Juan Jose Garcia Ripoll
b400db086b Avoid consing when creating the package names. 2010-08-21 12:08:48 +02:00