[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with semaphores and such.
- To: Oded Arbel <odeda-linux-il(at-nospam)betalfa.org.il>
- Subject: Re: Problem with semaphores and such.
- From: Oleg Goldshmidt <ogoldshmidt(at-nospam)computer.org>
- Date: 02 May 2001 17:26:41 +0300
- Cc: Linux-IL Mailing list <linux-il(at-nospam)cs.huji.ac.il>
- In-Reply-To: Oded Arbel's message of "Wed, 2 May 2001 15:45:32 +0000 (/etc/localtime)"
- Organization: Speaking for myself only.
- Original-Sender: ogoldshmidt@computer.org
- References: <Pine.LNX.4.30.0105021540060.13536-100000@europa.betalfa.org.il>
- Reply-To: ogoldshmidt(at-nospam)computer.org
- Sender: ogoldshmidt(at-nospam)comgates.co.il
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Cuyahoga Valley)
Oded Arbel <odeda-linux-il@betalfa.org.il> writes:
> Hi list.
>
> I've jsut tried to compile a text book example for using semaphores on
> linux, and I've failed measrably. looking in google for answers produced
> nothing coherant, so I'm turning to you guys for help -
Another possibility (in addition to my earlier posting): linux/sem.h
defines union semun, but including that will make your code
linux-specific.
--
Oleg Goldshmidt | ogoldshmidt@NOSPAM.computer.org
"I'd rather write programs to write programs than write programs."
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il