fork() / execl()



What are the general rules for fork()ing and execl()ing with GTK+?  I know
that only one process should expect to do anything GUI related (right?),
but does the same hold true for GLIB stuff (g_print, etc)?  What are the
Do's and Don't's on this?  Also, the child should exit with _exit() rather
than exit(), correct?

Dan "getting dangerously close to a working darts game"
 ____    Kressin   ____   .-----------------------------------. 
/___ \____________/ __ \  | dkressin@acm.org                  |
    \  \    /      /  \ | | Lead Programmer/Analyst           |
 ___/ __\/\/rench_ \__/ | | University of Wisconsin - Oshkosh |
\____/            \____/  | www.mio.uwosh.edu/~kressd11/      |
                          `-----------------------------------'



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]