[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] fusb::_reap: Interrupted System Call
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] fusb::_reap: Interrupted System Call |
Date: |
Tue, 16 Oct 2007 10:07:17 -0700 |
User-agent: |
Mutt/1.5.9i |
On Tue, Oct 16, 2007 at 12:47:59PM -0400, Jared Jensen wrote:
>
> Eric,
>
> Ubuntu, Feisty. 2.6.20-16-generic. HP dv2000
> laptop, Core 2 Duo, 1.6 GHz. 2 GB RAM, 160GB HDD 5400 RPM (But I'm not
> doing much disk I/O at all).
>
> I get the error message
> every 10-15 seconds or so. Sometimes I won't see it for minutes at a
> time, and other times, I'll see it often; like multiple times in a few
> seconds. Like I said, no data is missing (as far as I can tell), but
> this pops up frequently; apparently from the libusb driver. I don't
> get overruns, just this. Also, as I said, I can't see any missing
> data, but I also can't 100% guarantee that I'm not losing some data, so
> it concerns me a little.
Without chasing through more code than I just did, I can't say with
certainty if you're losing data or not, but I suspect that you're not.
I would guess that you're using some kind of time keeping alarm that's
setting a periodic interrupt, and that's what you're seeing (E.g.,
sleep or alarm). Are you expecting to be getting a SIG* in this
thread? If not, you may want to take a look at pthread_sigmask.
Using threads and signals together is a bit of a black art.
Eric