From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75271 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.gnus.general Subject: Re: url-retrieve parallelism Date: Sun, 19 Dec 2010 10:16:10 +0100 Message-ID: <877hf6p1gl.fsf@randomsample.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1292750224 11111 80.91.229.12 (19 Dec 2010 09:17:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 19 Dec 2010 09:17:04 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M23625@lists.math.uh.edu Sun Dec 19 10:16:59 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PUFNy-0006X7-EU for ding-account@gmane.org; Sun, 19 Dec 2010 10:16:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PUFNq-0004M4-7N; Sun, 19 Dec 2010 03:16:50 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PUFNo-0004Lp-G7 for ding@lists.math.uh.edu; Sun, 19 Dec 2010 03:16:48 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PUFNn-0005Hg-Fk for ding@lists.math.uh.edu; Sun, 19 Dec 2010 03:16:48 -0600 Original-Received: from v3-1008.vxen.de ([79.140.41.8]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PUFNm-0007wR-3W for ding@gnus.org; Sun, 19 Dec 2010 10:16:46 +0100 Original-Received: from dslc-082-082-191-092.pools.arcor-ip.net ([82.82.191.92] helo=spaten) by v3-1008.vxen.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1PUFNl-0000bd-Bu for ding@gnus.org; Sun, 19 Dec 2010 10:16:45 +0100 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sun, 19 Dec 2010 01:45:50 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) Mail-Copies-To: never Mail-Followup-To: ding@gnus.org X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75271 Archived-At: Lars Magne Ingebrigtsen writes: > But I'm wondering whether to make it a totally general library, that > would be, like: > > (defun concurrent (concurrency function callback callback-arguments) > ...) Maybe the transaction queue library (tq.el, ships with Emacs) could help you with this? It's very small and simple; EMMS uses it to asynchronously communicate with the music player daemon (mpd), and it works quite well (debugging becomes a nightmare, though). -David