guile-devel
[Top][All Lists]
Advanced

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

Re: set-program-arguments from scheme


From: Kevin Ryde
Subject: Re: set-program-arguments from scheme
Date: Tue, 16 Jan 2007 08:24:29 +1100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Neil Jerram <address@hidden> writes:
>
> (I wondered about (set-program-arguments . lst) instead of
> (set-program-arguments lst), but I suspect cases where you already
> have a list in hand will be more common.)

Yes, especially if you got it from a (program-arguments) call.

>> +        "Program arguments are held in a fluid and therefore have a\n"
>> +        "separate value in each Guile thread.")
>
> That's surprising; why is that?

Tell me and we'll both know :).  scm_boot_guile can be called in each
thread with a different argc+argv, I suppose.  I guess it lets you run
each thread like it's a separate program, though that sounds like an
unusual way to work.




reply via email to

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