[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [Anders Gnistrup <agn@city.dk>] (fwd)
- To: rtl@rtlinux.org
- Subject: BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [Anders Gnistrup <agn@city.dk>] (fwd)
- From: Der Herr Hofrat <der.herr@hofr.at>
- Date: Sun, 17 Jun 2001 09:39:11 +0200 (CEST)
>From owner-rtl Sat Jun 16 07:57:49 2001
Received: from emdrupborg.dk (IDENT:postfix@emdrupborg.dk [130.226.204.250])
by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f5GDvmZ04048
for <rtl@fsmlabs.com>; Sat, 16 Jun 2001 07:57:49 -0600
Received: from city.dk (unknown [10.0.0.24])
by emdrupborg.dk (Postfix) with ESMTP id EA7ED8C002
for <rtl@fsmlabs.com>; Sat, 16 Jun 2001 17:51:40 +0200 (CEST)
Sender: agn@emdrupborg.dk
Message-ID: <3B2B7F13.79980075@city.dk>
Date: Sat, 16 Jun 2001 14:45:23 -0100
From: Anders Gnistrup <agn@city.dk>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.4 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: rtl@fsmlabs.com
Subject: spinlocks i RT-linux
References: <3AB7121C.80406@bahnhof.se> <3B293EEF.3C7F1489@as.arizona.edu> <3B2AE21F.587F0A00@pacifier.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi All. this is a simple and a yes/no question
Is you use a semaphore is RT-linux to protect a piece of code, and a thread try
to enter while another is using that piece of code the thread is syspended. But
what is I use a spinlock? is linux kernel space this will cause a busy wait,
but will the same happen in RT-linux.
The reason way I am asking is that subdevices i comedi is protectet by
spinlocks.
Anders Gnistrup
----- End of forwarded message from owner-rtl@fsmlabs.com -----