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

Re: Problem with semaphores and such.



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