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

BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [David Olofson <david.olofson@reologica.se>] (fwd)



>From owner-rtl Wed Jun 20 10:29:49 2001
Received: from mail.space2u.com (sendmail@mail.space2u.com [62.20.1.135])
	by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f5KGTle02529
	for <rtl@fsmlabs.com>; Wed, 20 Jun 2001 10:29:48 -0600
Received: from cutangle.admeo.se ([212.162.175.15])
	by mail.space2u.com (8.11.3/8.11.3) with SMTP id f5KGSt031175
	for <rtl@fsmlabs.com>; Wed, 20 Jun 2001 18:28:55 +0200
From: David Olofson <david.olofson@reologica.se>
Reply-To: david.olofson@reologica.se
Organization: Reologica Instruments AB
To: rtl@fsmlabs.com
Subject: Re: [rtl] hi
Date: Wed, 20 Jun 2001 18:24:23 +0200
X-Mailer: KMail [version 1.1.99]
Content-Type: text/plain;
  charset="iso-8859-1"
References: <00f001c0f8a5$17a3b1b0$d8ec8cc1@amutlu>
In-Reply-To: <00f001c0f8a5$17a3b1b0$d8ec8cc1@amutlu>
MIME-Version: 1.0
Message-Id: <01062018242301.25717@cutangle.admeo.se>
Content-Transfer-Encoding: 8bit

On Tuesday 19 June 2001 11:49, Ahmet Mutlu wrote:
> hi
> i've already subscribed to the mailing list.. and a question...:
> how can i directly access to the rt task structures, i mean rt task =
> queues in kernel?

Well... There's no memory protection in kernel space, so you only need a 
pointer and the RTL kernel header that describes the "private" parts of the 
task struct.

Anyway, why would you want to do that? Application code should use the RTL 
API rather than messing with the inner workings directly. (If it's for 
debugging purposes, put the code in a separate module if possible, and do 
keep in mind that it may break even after a minor version RTL upgrade.)


//David Olofson --- Programmer, Reologica Instruments AB

.- M A I A -------------------------------------------------.
|      Multimedia Application Integration Architecture      |
| A Free/Open Source Plugin API for Professional Multimedia |
`----------------------> http://www.linuxaudiodev.com/maia -'
.- David Olofson -------------------------------------------.
| Audio Hacker - Open Source Advocate - Singer - Songwriter |
`--------------------------------------> david@linuxdj.com -'

----- End of forwarded message from owner-rtl@fsmlabs.com -----