Commit graph

15 commits

Author SHA1 Message Date
Daniel Kochmański
44299c7221 contrib: serve-event: make serve-event multithreading save
Only call handlers established in the current thread and use atomic
operations to update *descriptor-handlers*.
Closes #588.

Additionally:
- improve the test code
- add a test for the leak
- provide internet machine link for the tutorial
2020-06-20 16:36:32 +02:00
Daniel Kochmański
7feed6c6f4 contrib: call provide uniformly
Various contrib modules called provide with varying syntax from "module"
through 'module to '#:module. The last one is picked:

(provide '#:module)
2015-10-23 18:18:58 +02:00
Zack Piper
00521d869a Untabify everything. 2015-09-01 20:10:10 +00:00
Daniel Kochmański
850f1ccce4 ffi: remove package nickname 'uffi'
Our ffi isn't uffi 2.0 compatible and most systems wants this, when
they say (require 'uffi). Also if system has asdf dependency on
quicklisp) we have package name error.

We'll depend with UFFI 2.0 compability on cffi-uffi-compat, what is
the saniest approach. Some ECL specific patches will land there soon
to improve performance - no internal FFI api will change. It's just
nick removal.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
2015-08-04 12:22:02 +02:00
Juan Jose Garcia Ripoll
a50a496f2b Fixed typo in serve-event (J. James) 2011-01-19 22:24:24 +01:00
Juan Jose Garcia Ripoll
982199e6ee Introduced a new generic function GRAY:STREAM-FILE-DESCRIPTOR which used by SERVE-EVENT to wait for input on a stream (T. Rittweiler). 2010-03-19 19:55:12 +01:00
Juan Jose Garcia Ripoll
dacffdc468 SERVE-EVENT now allows streams and sockets as arguments, instead of file descriptors. 2010-02-22 15:11:41 +01:00
Juan Jose Garcia Ripoll
30ee5dbf0d SERVE-EVENT now allows time resolution of less than one second. 2010-02-19 20:30:32 +01:00
Juan Jose Garcia Ripoll
144d25367d Instead of replacing all DEFCONSTANT with DEFPARAMETER, use LET statements to prevent evaluation of the c-inline forms in profile, sockets and serve-event 2009-06-29 14:41:04 +02:00
Juan Jose Garcia Ripoll
19cbcd5a7c Replace DEFCONSTANT with DEFPARAMETER because it constains a call to C-INLINE 2009-06-28 21:44:06 +02:00
jgarcia
a204c9c0a1 SERVE-EVENT can be interrupted (Contrib by Nathan Hawkins) 2008-04-29 08:54:44 +00:00
jgarcia
e2e43a8047 SERVE-EVENT now builds with a C++ compiler 2007-10-14 09:02:51 +00:00
jgarcia
28dc3ad299 Fixed several typos and handling of zero vs. infinite timeouts (S. Smith) 2007-10-10 08:22:45 +00:00
jgarcia
034693c94b Package names are now fixed 2007-10-07 12:35:33 +00:00
jgarcia
7cb16b4db2 SERVE-EVENT contributed by Steve Smith 2007-10-07 10:17:02 +00:00