#lisp - Wed 11 Apr 2007 between 06:20 and 06:41



eructatetypically, if the system does claim to support interrupt-process, it includes code in loops to poll for interrupts. because it's usually not safe to smash a new stack frame onto a process.
mega1no asynchronity => no useful C-c (?) => my lisp image is not the operating system I though it to be => dunno
I'm obsessed with C-c
maybe someone has a cool idea how to avoid needing it
nikodemusmega1: you can have it ;-)
ignasmega1: C-c rehab?
nikodemusmega1: ...as long as i can make it synchronized ;P
...for my code
xinming_when I am in clisp, How can I check a documentation for a function please?
mega1tell me instead what's needed to implement no-shared-heap thread in sbcl
rudixinming_: (describe 'the-function) might be the easiest way
xinming_thanks
nikodemusmega1: at any rate, i don't think i'm getting to the indefinitely deferrable interrupts for awhile yet. with-deadline is the important bit
mega1: i was hoping you'd tell me...
mega1: i suppose you get to implement your own copy-on-write?
mega1ah, that hasn't occured to me. I was thinking in terms of marshalling messages.
and lamenting the loss of the shared global binding
nikodemusotherwise, how do you prevent (setf (car *foo) t)?
mega1by giving distinct heaps to threads?
xinming_But the problem now is, It will connected over the inter if we use (describe 'fun-name)
Is there a short summary for this?
nikodemushow do you give them distincs heaps? by copy-on-write, of course! :)
rudinikodemus: you assume that the new thread wants to have shared data with its parent
hmm, otherwise there won't be any functions etc in the new image - you might have a point there ...
nikodemusrudi: you could do copy-on-write from the original core too
oh!
rudiwell, a spawned worker thread might not want to start its life by reloading the server code it's supposed to be executing :)
mega1how to "share" and propagate changes to mutiple thread is an issue, erlang can have an old version of a module too
nikodemusyou could do (publish-image :foo) in a thread that has loaded all sorts of stuff, and then (make-thread 'server-function :image :foo)
that might be fun ;-)
antifuchshaha, extremely heavyweight threads (-:
knobodoes anyone use sbcl on solaris?
aha, now I see. There is no port to sparc
nikodemusthere is
the binary is a little old, though
but there should be no fundamental issues with it
antifuchssolaris 10 on x86 is probably where it's at these days
dan_bif you have a lisp-is-the-os view, perhaps you should map C-c into that view as the SAK key
nikodemusit is just a bit finicky about the toolchains (gnu vs sun)
dan_b"stop what you're doing and drop me in the hypervisor"

Page: 3 10 17 24 31 38 

IrcArchive