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

BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [root <agn@city.dk>] (fwd)



>From owner-rtl Wed May 16 06:44:27 2001
Received: from kalman.iau.dtu.dk (kalman.iau.dtu.dk [192.38.66.22])
	by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f4GCiPr06240
	for <rtl@rtlinux.org>; Wed, 16 May 2001 06:44:26 -0600
Received: from city.dk (IDENT:root@xterm39 [192.38.66.79])
	by kalman.iau.dtu.dk (8.9.3/8.9.3) with ESMTP id OAA18708
	for <rtl@rtlinux.org>; Wed, 16 May 2001 14:39:20 +0200
Sender: root@kalman.iau.dtu.dk
Message-ID: <3B027543.3100FA1B@city.dk>
Date: Wed, 16 May 2001 14:40:36 +0200
From: root <agn@city.dk>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.1-rtl i686)
X-Accept-Language: en
MIME-Version: 1.0
To: rtlinux <rtl@rtlinux.org>
Subject: I dont get.... I just dont get it.
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi all

I wrote a message about nanosleep in a rt - kernel  module. I got
desparet.......That's it.

so I tried to change nanosleep with sem_timedwait. I did init the
semapore to zero, and
tried to run.

    AND IT WORKED!!!!!!!!!!!!!!!!!!!!!!!

no divide error. no nothing...
but way.......

I am writing a repport so I have to have an argument for using
sem_timedwait insted of nanosleep, but I cant see any big difference
between the to funktion.
The most logic choise whould bee nanosleep...but yeaa you now....