❦ 30 juillet 2012 06:56 CEST, Ian Price :
>> #v+
>> (let ((v1 (do-something-blocking "arg1" "arg2"))
>> (v2 (do-something-blocking "arg3" "arg4")))
>> (when (< (+ v1 v2) 10) (...)))
>> #v-
>>
>> `do-something-blocking` is a registered function written in C. I want to
>> be able to pause t
() Ian Price
() Mon, 30 Jul 2012 05:56:43 +0100
(use-modules (ice-9 q)) ;; yech, but it'll do
[...]
See also module (ice-9 runq), documented at:
http://www.gnuvola.org/software/guile/doc/Run-Queues.html
and possibly other places.
--
Thien-Thi Nguyen ..
Vincent Bernat writes:
> Hi!
> I would like to add Guile scripting to an actual program to allow a user
> to write simple network-related scenarios. Those scenarios will be run
> in parallel on several entities. The application is event-driven and I
> want to hide this fact to the user. She shoul