[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)



>From owner-rtl Fri May 11 03:01:33 2001
Received: from emdrupborg.dk (emdrupborg.dk [130.226.204.250])
	by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f4B91WJ04284
	for <rtl@fsmlabs.com>; Fri, 11 May 2001 03:01:32 -0600
Received: from city.dk (unknown [10.0.0.24])
	by emdrupborg.dk (Postfix) with ESMTP id DFBC98C002
	for <rtl@fsmlabs.com>; Fri, 11 May 2001 10:57:23 +0200 (CEST)
Sender: agn@emdrupborg.dk
Message-ID: <3AFBC4CF.2AEF3075@city.dk>
Date: Fri, 11 May 2001 09:54:07 -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] Semaphore in different modules
References: <3AFAAD8A.73BDD8AC@isr.uni-stuttgart.de>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Sebastian Bolk wrote:

> Hi all!
>
> I'm using RTlinux 3.0 with kernel 2.4.1.
> Is there a way to have different modules using the same semaphore?

send a pointer to the other module with the adr. of the semaphor.
Then you should bee able to use it in both modules.

Anders Gnistrup.

>
>
> Thanks
> -- [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/