Commit graph

5038 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
92b4546538 Removed debug statement from cmp-0007-circular-load-form 2012-04-14 19:47:52 +02:00
Juan Jose Garcia Ripoll
8b763b1f5d Removed debug statement from mutex-001.lsp 2012-04-14 19:44:57 +02:00
Juan Jose Garcia Ripoll
21d74d98b0 Missing parenthesis. 2012-04-14 19:44:27 +02:00
Juan Jose Garcia Ripoll
8f377195b7 Remove stray quote from test form. 2012-04-14 19:39:31 +02:00
Juan Jose Garcia Ripoll
8c50ac9311 In CMP-0007-CIRCULAR-LOAD-FORM, need-to-make-load-form-p was missing an argument. 2012-04-14 19:38:02 +02:00
Juan Jose Garcia Ripoll
47d8845f4c In test CL-0022-INSPECT-STRUCT, provide the quit command to INSPECT so that it does not signal an EOF error. 2012-04-14 19:34:49 +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
f7f9a99a60 Avoid using mkdir in bare.lsp.in 2012-04-13 11:19:32 +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
27bed7934c ENSURE-DIRECTORIES-EXIST takes a :MODE argument (POSIX mode) and protects its pathname computation by overriding *default-pathname-defaults* 2012-04-13 01:03:27 +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
Juan Jose Garcia Ripoll
1472cc91ef Removed the code for alternative stacks 2012-04-08 20:29:41 +02:00
Juan Jose Garcia Ripoll
2425a9ebb9 process_interrupt_handler() now handles _all_ queued signals, instead of just one. 2012-04-08 17:18:38 +02:00
Juan Jose Garcia Ripoll
1f89d8620c SIGSEGV and SIGBUS share signal handler 2012-04-08 16:57: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
8d1c35daeb ecl_unrecoverable_error() verifies that some frame was established before jumping to it. 2012-04-08 16:17:50 +02:00
Juan Jose Garcia Ripoll
9825171f42 Only deliver signals to active processes. 2012-04-08 16:12:11 +02:00
Juan Jose Garcia Ripoll
d33fa59ee4 Immediately register the process with the env it forms part of. 2012-04-08 15:19:06 +02:00
Juan Jose Garcia Ripoll
f03bb29cd9 Ensure that a process is listed when its environment is created, so that this environment is marked. 2012-04-08 12:29:34 +02:00
Juan Jose Garcia Ripoll
6b77244d07 Relax the iteration error in LOOP to a warning 2012-04-08 00:50:05 +02:00
Juan Jose Garcia Ripoll
cd02c2a0f4 Totally block signals until a thread is completely set up. 2012-04-08 00:24:36 +02:00
Juan Jose Garcia Ripoll
8810352ceb Fixed wrong initialization error in process.d 2012-04-07 19:32:09 +02:00
Juan Jose Garcia Ripoll
748eb30ebe mp:mailbox-empty-p returned the opposite value. 2012-04-07 01:07:02 +02:00
Juan Jose Garcia Ripoll
ad49125681 Implemented a first prototype of mailbox 2012-04-07 00:55:14 +02:00
Juan Jose Garcia Ripoll
c123b66245 ecl_wait_on() returns the value of the tester. 2012-04-06 23:51:00 +02:00
Juan Jose Garcia Ripoll
c31ac36f91 get_semaphore_inner() must try to repeat decrementing the semaphore if CAS failed. 2012-04-06 23:17:43 +02:00
Juan Jose Garcia Ripoll
7643157118 Replace a @(return) with an ecl_return1() 2012-04-06 23:12:23 +02:00
Juan Jose Garcia Ripoll
defc12c1bc The waiter for a barrier must check both that it was signaled and that the barrier is enabled. 2012-04-06 23:07:22 +02:00
Juan Jose Garcia Ripoll
b053cd80ec The macroexpander for CASE also warns about an improper order of statements. 2012-04-06 18:49:09 +02:00
Juan Jose Garcia Ripoll
671aef6634 Warn when the OTHERWISE/T clause in CASE appears at a position other than the last one. 2012-04-06 18:20:55 +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
d0abeffcdd DIRECTORY does not complain about non-existent directory components 2012-04-06 18:04:00 +02:00
Juan Jose Garcia Ripoll
56d53420a9 In external-process-wait, spin to ensure that a structure was already updated by the concurrent thread. 2012-04-06 12:37:29 +02:00
Juan Jose Garcia Ripoll
d771c29fcf MP:PROCESS-JOIN now works with an exit barrier that is set up for each process. 2012-04-06 12:08:47 +02:00
Juan Jose Garcia Ripoll
d161ac43f9 wakeup_one() did not use the spinlocks and had some additional implementation errors. 2012-04-06 12:08:47 +02:00