Commit graph

2746 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
299820006d The deferred signal handler has to be defined whenever sigprocmask() is used 2012-05-22 22:00:52 +02:00
Juan Jose Garcia Ripoll
0385830033 Fixed typo in file.d 2012-05-22 09:45:10 +02:00
Juan Jose Garcia Ripoll
e950fc51bb Detect the codepage in Windows. 2012-05-19 10:07:48 +02:00
Juan Jose Garcia Ripoll
b3e6bf772a New console streams for Windows. 2012-05-19 09:34:35 +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
ceaff1a7b2 Fixed typo in unixint.d 2012-05-09 23:15:16 +02:00
Juan Jose Garcia Ripoll
2fc1f35b51 Mingw has sched.h but does not work 2012-05-09 23:15:02 +02:00
Juan Jose Garcia Ripoll
fe797180f2 Factor some error messages in unixint.d 2012-05-06 00:47:53 +02:00
Juan Jose Garcia Ripoll
4343b0f436 New functions ext:get-interrupt-handler and ext:set-interrupt-handler for customizing how certain signals are caught. 2012-05-06 00:03:56 +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
dbd51915dc Remove further uses of cl_funcall in the C core 2012-05-05 10:40:14 +02:00
Juan Jose Garcia Ripoll
2d704fa13e Cheaper check for lisp disabled interrupts. 2012-05-05 10:07:54 +02:00
Juanjo Garcia-Ripoll
d8547c5531 When computing the generic function dispatch, we eliminate the case in which the generic function takes too many required arguments. Slight optimizations in STD-COMPUTE-EFFECTIVE-METHOD. 2012-04-27 16:09:17 +02:00
Juanjo Garcia-Ripoll
2cc751eef8 STD-COMPUTE-EFFECTIVE-METHOD and friends are called directly 2012-04-27 14:00:03 +02:00
Juanjo Garcia-Ripoll
a366111a71 COMPUTE-EFFECTIVE-METHOD returns a form, even if it does not have the syntax people would expect. 2012-04-27 12:16:05 +02:00
Juan Jose Garcia Ripoll
06d58ddb8e Standard and MOP classes do not use slot names which live in CL or CL-USER 2012-04-26 21:46:48 +02:00
Juanjo Garcia-Ripoll
47bc44daa0 In EXT:RUN-PROGRAM, synchronize the child so that it waits until the parent has set up the process structure. 2012-04-26 16:16:05 +02:00
Juanjo Garcia-Ripoll
1fc8af38ba New class METHOD-COMBINATION used in combin.lsp 2012-04-26 10:09:34 +02:00
Juan Jose Garcia Ripoll
b66c3736f3 Avoid infinite loop in cinit.d (si_safe_eval) 2012-04-25 23:39:12 +02:00
Juan Jose Garcia Ripoll
abb677f039 class-of did not work with barriers, mailboxes and semaphores 2012-04-25 23:13:55 +02:00
Juan Jose Garcia Ripoll
5e9b643f57 ECL's discriminating function protocol now relies on COMPUTE-APPLICABLE-METHODS-USING-CLASSES 2012-04-24 23:23:05 +02:00
Juan Jose Garcia Ripoll
a2460f3a4b EXTRACT-LAMBDA-LIST and EXTRACT-SPECIALIZER-NAMES implemented. 2012-04-22 02:03:46 +02:00
Juan Jose Garcia Ripoll
ec6553ce88 COMPUTE-APPLICABLE-METHODS and CLOS:COMPUTE-EFFECTIVE-METHOD are now generic functions 2012-04-21 09:12:45 +02:00
Juan Jose Garcia Ripoll
7f8ac13aa2 :CDECL was not accepted as an FFI declaration due to a typo. 2012-04-19 21:35:54 +02:00
Juan Jose Garcia Ripoll
fb9c491a4f In atomic.d, include ecl_atomics.h only when needed. 2012-04-19 21:15:32 +02:00
Juanjo Garcia-Ripoll
57cd6e3066 Minor changes to add the new MP objects to the MSVC port and new code for waking up processes in this platform. 2012-04-16 23:35:40 +02:00
Juan Jose Garcia Ripoll
d93cefad6e Thanks to the chained wakeup event, ecl_wakeup_waiters() does no longer need an extra argument 2012-04-15 23:22:22 +02:00
Juan Jose Garcia Ripoll
d6f806af2c Update description of ecl_wait_on(). 2012-04-15 23:08:56 +02:00
Juan Jose Garcia Ripoll
323822457c In the queue, when the first process of the queue leaves it, it awakes the next one in line to test its condition. 2012-04-15 22:48:33 +02:00
Juan Jose Garcia Ripoll
0ce91a565d The mailbox did not set its mask properly 2012-04-15 20:39:09 +02:00
Juan Jose Garcia Ripoll
a20b8b9218 ecl_wakeup_waiters now take an argument with the number of processes to awake 2012-04-15 11:09:42 +02:00
Juan Jose Garcia Ripoll
d9f88afa1e The value of C_ARGUMENTS_LIMIT was not well precised 2012-04-14 20:36:03 +02:00
Juan Jose Garcia Ripoll
ac518d8e33 MAKE-PATHNAME should not simplify :BACK in the directory part. 2012-04-14 19:30:12 +02:00
Juan Jose Garcia Ripoll
2b182d345f When fixing the value of a #n# form, do_patch_sharp() could lead to infinite recursion. 2012-04-14 19:05:45 +02:00
Juan Jose Garcia Ripoll
94c86a0af1 Simplified ecl_wait_on(): optimized detection of being first one and abortion, waking up is done with the lock held, woken up threads are not removed from queue. 2012-04-14 11:43:39 +02:00
Juan Jose Garcia Ripoll
e06d7c7c30 Increased safety area for the BDS binding stack 2012-04-14 11:42:26 +02:00
Juanjo Garcia-Ripoll
d9e4311d95 Remove explicit use of ecl_get_spinlock() in unixsys.d, replacing with ECL_WITH_SPINLOCK, which also works in single-thread mode. 2012-04-13 11:08:54 +02:00
Juanjo Garcia-Ripoll
eb1fd2c0cf Removed debug statement 2012-04-13 11:06:52 +02:00
Juan Jose Garcia Ripoll
e1c1fbe5aa FElibc_error/FEwin32_error now explain that what the user is seeing is a core library message 2012-04-13 01:10:13 +02:00
Juan Jose Garcia Ripoll
441b57d3f5 Avoid calling ecl_char() in mkdir 2012-04-13 01:02:38 +02:00
Juan Jose Garcia Ripoll
6355c80700 EXT:MKDIR no longer accepts pathnames, just strings. 2012-04-13 00:45:33 +02:00
Juan Jose Garcia Ripoll
51ca6d006e Simplify ecl_wakeup_waiters() 2012-04-12 23:59:34 +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
fbd3587b1a Removed further warnings about uninitialized or unused variables and functions 2012-04-11 23:04:27 +02:00
Juan Jose Garcia Ripoll
a7eead6ba7 Slight optimizations in VALUES and MULTIPLE-VALUE-LIST 2012-04-11 23:04:07 +02:00
Juan Jose Garcia Ripoll
3bbba10703 Block interrupts when exiting the thread. 2012-04-11 22:03:25 +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
5c1dca4c67 Fixed another sign problem when handling the output of fread(). 2012-04-10 21:03:33 +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