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

BOUNCE rtl@rtlinux.org: Approval required: Non-member submission from [Anders Gnistrup <agn@city.dk>] (fwd)



>From owner-rtl Sat May  5 13:09:43 2001
Received: from emdrupborg.dk (emdrupborg.dk [130.226.204.250])
	by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f45J9fJ28679
	for <rtl@fsmlabs.com>; Sat, 5 May 2001 13:09:42 -0600
Received: from city.dk (unknown [10.0.0.24])
	by emdrupborg.dk (Postfix) with ESMTP id 06CFA8C002
	for <rtl@fsmlabs.com>; Sat,  5 May 2001 21:05:37 +0200 (CEST)
Sender: agn@emdrupborg.dk
Message-ID: <3AF46A7A.FD4DE2F5@city.dk>
Date: Sat, 05 May 2001 20:02:51 -0100
From: Anders Gnistrup <agn@city.dk>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.18-rtl i686)
X-Accept-Language: en
MIME-Version: 1.0
To: rtl@fsmlabs.com
Subject: Re: [rtl] putting threads to sleep
References: <A3A5582AC3AFD448A7C0BD2DB7EFDC5F1143AE@BTR-COM1.btr-auto.aust.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

karl rentsch wrote:

> Hi all,
>
> I've got a problem I hope someone can help me with.  I'm trying to put a
> thread to sleep but I don't want to tie up the system using usleep() or
> nanosleep().  I've tried using pthread_make_periodic_np configured as a
> one shot timer (ie. it needs to repeat several times but for different
> time intervals) but it doesn't seem to work
> Any help would be much appreciated
> Thanks
> Karl Rentsch

I am working on the same problem. What I have found is that the funktion
sigaction
can be used for that purpuse. Right now I do not know how. Is you find a
solution I realy
whold like to about it

Anders Gnistrup


>
>
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/