***koz__ is now known as koz_
***michel_mno_afk is now known as michel_mno
***michel_mno is now known as michel_mno_afk
<davexunit>does anyone have an idea of how I could use the 'clone' system call in guile? <davexunit>I'm reading the man page and it takes a function pointer and a pointer to a "child stack" <davexunit>I can't imagine this will play nice with Guile. <davexunit>dsmith-work: yeah, but afaict it's what I need to use to create a separate process namespace and stuff <davexunit>I'm trying to write a quick linux container script using guile <dsmith-work>davexunit: The nasty thing to watch out for is that any mutex that is locked will still be locked in the new process, but there is no thread running that owns it. <dsmith-work>davexunit: Checkout the pthread_atfork man page. Has a good description <davexunit>thanks but I don't think that's really what I'm after <dsmith-work>davexunit: I meant that man page as a good description of the problems you can run into combining clone/fork and pthreads. <paroneayea>haha, I should package xmms for old times' ssake <dsmith-work>This reminds me of a question I had years ago, and never found an answer. Is it possible to give a thread a unique name that will show in a ps listing? <please_help>Is there a term to refer to something that can be "eval'd" (e.g. a quoted sexp)? Is it true that, where x is a macro pattern, (list? (quote x)) iff x is a sexp? <dsmith-work>You can still eval it. It's self-evaluating, so you get a string. <please_help>is a string (a symbol, a number ...) considered a sexp? <please_help>so then, (list? (quote x)) iff x is a non-selfevaluating sexp? <saul>please_help, a pair is not self-evaluating, yet it is also not a list. <dsmith-work>please_help: I didn't mean to be confusing. Just that the data passed to eval doens't have to be a list. <dsmith-work>please_help: So are you wanting to know some test to make sure what you are passing to eval is valid?