lkml.org 
[lkml]   [1996]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: Some strangeness---
    Date
    >    sleep() doesn't work, it just hangs the program (strace gives output
    > that looks like it's stuckin a SIGALRM loop)
    >
    > Check the strace() output to make sure libc is calling setitemer()
    > right before the sigpause(). This is the "usual" libc implementation
    > of sleep(foo).

    I'll have to examine strace() output really carefully, but I just know
    that when it tries to sleep(1), it loops infinately at that point.

    void main(void)
    {
    printf("foo\n");
    sleep(1);
    printf("bar\n");
    }

    Never see the bar. Guess I must have drunk too much.

    -Dossy

    --
    URL: http://remus.rutgers.edu/~dossy --- E-MAIL: mailto:dossy@remus.rutgers.edu
    Now I'm who I want to be, where I want to be, doing what I've always said I
    would and yet I feel I haven't won at all... (Aug 9, 95: Goodbye, JG.)
    "You should change your .sig; not that the world revolves around me." -s. sadie


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