Recent content by Seth_

  1. S

    NSTimer + NSTask

    This is weird. :eek: If I don't fire the NSTimer, startTask gets executed right away and I get the same error that I normally get when the timer calls it for the second time. This is what normally happens (with firing). I pass the PrefsHandler to uiHandler, and I create and fire the timer...
  2. S

    NSTimer + NSTask

    The program crashes on [aTask launch]; when startTask is (indirectly) called for the second time by the timer. So... I think the crash really is in that part of the code? If you think you need the code of an other method or class, just ask. The backtrace:#0 0xfffeff18 in objc_msgSend_rtp ()...
  3. S

    NSTimer + NSTask

    I'm trying to get the current upload and download bytes every X seconds from a netstat command. I'm using an NSTimer to launch a netstat process every time:NSTimer *timer = [[NSTimer scheduledTimerWithTimeInterval: 5 target: uiHandler selector: @selector(refreshData:) userInfo: nil...
Back
Top