Hi,

Klaus Schilling <[EMAIL PROTECTED]> writes:

> Is it dangerous to reallocate from scheme wrapper code
>  pointers that have been allocated or 
> declared NULL in code that was executed before boot_guile was called?

Guile doesn't care about what you do with libc's malloc/realloc/etc. so
you can essentially use them to do whatever pleases you.  :-)

> does declaring critical sections arround those reallocation calls
> smoothen the situation?

Critical sections are unrelated: they are supposedly a way to block
execution of asyncs (although it's not all that clear from looking at
the code, especially since `scm_i_critical_section_mutex' doesn't seem
to be really used...).

Thanks,
Ludovic.



_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user

Reply via email to