マルチスレッドのプログラミング

pthread_atfork の構文

int pthread_atfork(void (*prepare) (void), void (*parent) (void),
    void (*child) (void) );