From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.lisp.guile.user Subject: Re: Some introductory docs about C level threading Date: Tue, 25 Jan 2005 09:58:52 -0600 Message-ID: <87vf9lbiv7.fsf@trouble.defaultvalue.org> References: <20050122123719.GA15432@www> <20050125090646.GA4039@www> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1106670362 5139 80.91.229.6 (25 Jan 2005 16:26:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 Jan 2005 16:26:02 +0000 (UTC) Cc: guile-user@gnu.org, Marius Vollmer Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Jan 25 17:25:55 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CtTVr-0007jn-00 for ; Tue, 25 Jan 2005 17:25:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CtTi7-0006gn-NG for guile-user@m.gmane.org; Tue, 25 Jan 2005 11:38:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CtTcm-0005Pm-Cg for guile-user@gnu.org; Tue, 25 Jan 2005 11:33:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CtTcZ-0005KI-58 for guile-user@gnu.org; Tue, 25 Jan 2005 11:32:52 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CtTcX-0005Ep-J3 for guile-user@gnu.org; Tue, 25 Jan 2005 11:32:49 -0500 Original-Received: from [66.93.216.237] (helo=defaultvalue.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CtT5j-0001xE-RY for guile-user@gnu.org; Tue, 25 Jan 2005 10:58:56 -0500 Original-Received: from trouble.defaultvalue.org (omen.defaultvalue.org [192.168.1.1]) by defaultvalue.org (Postfix) with ESMTP id 1C4984045; Tue, 25 Jan 2005 09:58:54 -0600 (CST) Original-Received: by trouble.defaultvalue.org (Postfix, from userid 1000) id 5F6CB3C101A; Tue, 25 Jan 2005 09:58:52 -0600 (CST) Original-To: tomas@fabula.de In-Reply-To: <20050125090646.GA4039@www> (tomas@fabula.de's message of "Tue, 25 Jan 2005 10:06:46 +0100") User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.user:4164 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:4164 tomas@fabula.de writes: > Yes, I imagine that this is the hard part. But it might be the > really useful one, epecially for non-Guile apps onto which a Guile > interpreter gets tacked. My standard examples are Apache or the > PostgreSQL server. Those have their own signal handlers and so > on. As a module writer you get just a hook (and there you won't be > in Guile mode). So if you want to write your handlers in Guile, > you'd need some way of saying `call this when it's safe'. Though it might be to slow, a simple alternative would be to just have a guile thread watch a C data structure that the server signal handler manipulates. -- Rob Browning rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4 _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user