Hey!

Andy Wingo <wi...@pobox.com> skribis:

> How do you feel about raising an error if primitive-fork is called, and
> there are other threads running?

I think I’d prefer a solution where libguile-internal threads and locks
are suitably handled upon fork (basically what wip-threads-and-fork
does), and where users are provided with mechanisms to do the same at
their level–which boils down to exposing pthread_atfork.

WDYT?

Thanks,
Ludo’.

Reply via email to