Commit graph

5233 commits

Author SHA1 Message Date
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
abf312520f Added tests for mailboxes 2012-04-15 22:45:44 +02:00
Juan Jose Garcia Ripoll
6a328b259c Added tests for 1-to-N blocking and non-blocking communication using semaphores 2012-04-15 22:45:07 +02:00
Juan Jose Garcia Ripoll
6328098b3b Remove numbers from the coverage tests of sem-001.lsp 2012-04-15 20:39: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
324f2c59cc Test that when we have N+M processes and we increase the semaphore count by N, only N awake. 2012-04-15 11:41:10 +02:00
Juan Jose Garcia Ripoll
65c5ac1410 Test that an interrupted resignals the awake message 2012-04-15 11:34:31 +02:00
Juan Jose Garcia Ripoll
6301581f3a Added tests for semaphores 2012-04-15 11:10:13 +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
1141033a25 Added a new test form that ensures no processes are left behind 2012-04-15 10:18:59 +02:00
Juan Jose Garcia Ripoll
868f666533 Added a test to ensure the integrity of mutexes after interrupts. 2012-04-14 23:40:04 +02:00
Juan Jose Garcia Ripoll
264cdd8bb3 Upgraded ECL to a newer version 2012-04-14 20:57:26 +02:00
Juan Jose Garcia Ripoll
4358272f91 Corrected the list of aliases of the ISO-8859 character sets. 2012-04-14 20:48:56 +02:00
Juan Jose Garcia Ripoll
b987c38ab5 New tests for mutexes 2012-04-14 20:36:49 +02:00
Juan Jose Garcia Ripoll
c9f99769eb The code for generating functions with a number of arguments that exceeds c-arguments-limit was lost 2012-04-14 20:36:28 +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
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