guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some introductory docs about C level threading


From: Rob Browning
Subject: Re: Some introductory docs about C level threading
Date: Tue, 25 Jan 2005 09:58:52 -0600
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux)

address@hidden 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]