We can't use the ECL_WITH_SPINLOCK_BEGIN/END macros since they check for pending interrupts at the end of their unwind-protect frame. This leads to various bugs: - in queue_signal the to be queued interrupt is executed immediately after being queued even if interrupts are disabled - in pop_signal if multiple interrupts are queued they are executed in reverse order To fix these issues, use a) ecl_get/giveup_spinlock directly and b) ecl_disable/enable_interrupts_env to prevent the spinlock not being released due to an interrupt happening during the execution of the main body of pop_signal/queue_signal. |
||
|---|---|---|
| contrib | ||
| examples | ||
| msvc | ||
| src | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| appveyor.yml | ||
| CHANGELOG | ||
| configure | ||
| COPYING | ||
| INSTALL | ||
| LICENSE | ||
| Makefile.in | ||
| README.md | ||
ECL stands for Embeddable Common-Lisp. The ECL project aims to produce an implementation of the Common-Lisp language which complies to the ANSI X3J13 definition of the language.
The term embeddable refers to the fact that ECL includes a Lisp to C compiler, which produces libraries (static or dynamic) that can be called from C programs. Furthermore, ECL can produce standalone executables from Lisp code and can itself be linked to your programs as a shared library. It also features an interpreter for situations when a C compiler isn't available.
ECL supports the operating systems Linux, FreeBSD, NetBSD, DragonFly BSD, OpenBSD, Solaris (at least v. 9), Microsoft Windows (MSVC, MinGW and Cygwin) and OSX, running on top of the Intel, Sparc, Alpha, ARM and PowerPC processors. Porting to other architectures should be rather easy.