> Marc Weber wrote: > > Would something like this work reasonable? > > Its using pthread to get stack size (this was used to tell the ruby > > garbage collector which memory to scan. After telling about it the > > ruby gc related segfaults were gone) > > I would certainly be more comfortable using an established > stack-overflow-catching library that has been tested for portability. > Does anyone know of such a thing?
Just waiting means that GCC might take care of this for you ... the development version of gcc includes a split stack option -fsplit-stack ( http://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html ) and any GCC level solution should be as portable as GCC itself _______________________________________________ Ur mailing list [email protected] http://www.impredicative.com/cgi-bin/mailman/listinfo/ur
