ice-9 async-queue

2012-02-06 Thread Andy Wingo
Hi all, I was thinking of adding the following to Guile, to eventually help make the web server a little less terrible. What do you think? I haven't tested it properly yet. Andy ;;; Asynchronous queues ;; Copyright (C) 2012 Free Software Foundation, Inc. ;; This library is free software;

ice-9 thread-pool

2012-02-06 Thread Andy Wingo
Hi, Related to my previous mail, here is a thread pool implementation. Comments welcome. Andy ;;; Thread pools ;; Copyright (C) 2010, 2011, 2012 Free Software Foundation, Inc. ;; This library is free software; you can redistribute it and/or ;; modify it under the terms of the GNU Lesser

Re: ice-9 async-queue

2012-02-06 Thread Mike Gran
From: Andy Wingo wi...@pobox.com Subject: ice-9 async-queue ;;; Asynchronous queues Hey Andy,   FYI, there is also an (ice-9 q).  I haven't really looked at it, but, maybe either (ice-9 q) or (ice-9 async-queue) could become a generalized version and the other could become a specific version or

Re: ice-9 thread-pool

2012-02-06 Thread Ludovic Courtès
Hi Andy! Andy Wingo wi...@pobox.com skribis: Related to my previous mail, here is a thread pool implementation. Comments welcome. What use case do you have in mind? “Thread pool” seems too generic to really have anything to say about it. :-) Thanks, Ludo’.

Re: ice-9 async-queue

2012-02-06 Thread Ludovic Courtès
Hi! Andy Wingo wi...@pobox.com skribis: I was thinking of adding the following to Guile, to eventually help make the web server a little less terrible. What do you think? An “asynchronous queue” is a queue of tasks, right? What kind of tasks would it be: I/O? Computation? How does it fit

Extending default %load-path via environment variable

2012-02-06 Thread Andreas Rottmann
Hi! I just noticed that Guile apparently offers no way to _extend_ (as opposed to completely override) its load path (or compiled load path) via an environment variable. What I'd like to have is something like Racket, where setting PLTCOLLECTS to /foo/bar::/qux/baz means: Search /foo/bar first,