[lkml]   [1999]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: fork() Problem?
       Date: Wed, 5 May 1999 09:19:54 +0300 (EEST)
    From: Yavuz Selim Komur <>

    Problem is sequence error.

    if (pid = fork())
    printf("Main Program");
    printf("Child Program");

    it's clear?

    So Linux runs the child before the parent in your test runs, whereas
    the opposite is true on other systems. Is this a problem?

    David S. Miller

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:51    [W:0.018 / U:33.128 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site