This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

stack checking and threads


Hi,

Could the stack checking in GUILE be extended to work with C/C++
(OS) threads?  For example, I have a thread that checks X/Tk events and
calls callbacks that invoke GUILE's eval, which in turn reports stack
overflow. I tried to change the value of scm_stack_checking_enabled_p
in my code (actually, only before scm_boot_guile or in "inner_main")
but it didn't work. I had to comment out a couple of lines in __scm.h
to disable stack checking.

Aleksandar