[slime-devel] thread manipulation

Marco Baringer mb at bese.it
Sat Feb 28 20:02:22 UTC 2004


On Venerdì, feb 27, 2004, at 20:39 Europe/Rome, Helmut Eller wrote:

> Not sure I understand the question.  Currently slime-thread-attach
> creates a new connection and implicitly a new control-thread.  So it
> is a multi-threaded server.

if it creates a new control thread then it's not what i want.

here's the use case: i start a server with 20 worker threads, 
occasionally these threads will get into an inconsistent state, causing 
an error the next time the thread attempts to service a request. I want 
to be able to jump into the thread, examine some special variables, fix 
what needs to be fixed and then continue.

My idea was to simply interrupt the thread, start a single threaded 
slime server and then when i was done return from the interuppting 
function and let the worker thread keep going. The patch i applied is 
missing that last piece of functionality, but i'm not sure this is the 
right way to go about things so i'll wait to hear what you think.

--
Marco
Ring the bells that still can ring.
Forget the perfect offering.
There is a crack in everything.
That's how the light gets in.
	-Leonard Cohen





More information about the slime-devel mailing list