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

Re: semaphore set ???




Here "nsems" indicate number of  sub semaphores needs to be created. The
setting of subsemaphores value is required in case of huge programs.

Rupa
----- Original Message -----
From: "MAASK Group" <maask12345@hotmail.com>
To: <kernelnewbies@nl.linux.org>
Sent: Saturday, January 04, 2003 7:27 PM
Subject: semaphore set ???


> hello
>
>      we did not understand why the field +nsems+ is included.
> what is the use of this field ??
> plz let us know
> semget (key_t key, int nsems, int semflg)
>
> MAASK group
>
>
>
>
>
>
> _________________________________________________________________
> The new MSN 8: smart spam protection and 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
>

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/