Luca Olivetti wrote: > synchronize and critical sections, c library with callbacks to pascal, > etc.) is working flawlessly in the foreground, but it segfaults if I try > to background it (or try to use fpFork), and this is a problem since I > want to write a daemon (i can use screen though if that isn't possible).
Backgrounding is not the same as forking. Backgrounding is using the shell's job control (and sends some signal(s) to the process), forking is what the program does itself. Can you list an example that crashes with fpfork, and give an strace with it ? Micha _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal