From: Ankit Jain <ankitjain1580@yahoo.com>
To: "Dhiman, Gaurav" <Gaurav.Dhiman@ca.com>
Cc: newbie <linux-newbie@vger.kernel.org>
Subject: RE: Mutual Exclusion in Kernel
Date: Wed, 6 Oct 2004 06:50:17 +0100 (BST) [thread overview]
Message-ID: <20041006055017.42480.qmail@web52903.mail.yahoo.com> (raw)
In-Reply-To: <577528CFDFEFA643B3324B88812B57FE2D9B67@inhyms21.ca.com>
hi
what is spin lock?
thanks
ankit
--- "Dhiman, Gaurav" <Gaurav.Dhiman@ca.com> wrote:
>
> Use either semaphore or spin locks for mutual
> exclusion
>
> Gaurav
>
>
> -----Original Message-----
> From: kernelnewbies-bounce@nl.linux.org
> [mailto:kernelnewbies-bounce@nl.linux.org] On Behalf
> Of Rakesh Jagota
> Sent: Wednesday, October 06, 2004 9:03 AM
> To: kernelnewbies
> Subject: Mutual Exclusion in Kernel
>
> Hello All,
>
> I have defined one array of structures in the kernel
> which can be seen
> by
> all the modules. Now I would like to have mutual
> exclusion , that is if
> any
> module is accessing the array ,no other module
> should not access the
> same
> array, since it is a global array.
>
> Thanks in advance
>
> Regards
> Rakesh
>
>
> --
> 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/
>
>
________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next parent reply other threads:[~2004-10-06 5:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <577528CFDFEFA643B3324B88812B57FE2D9B67@inhyms21.ca.com>
2004-10-06 5:50 ` Ankit Jain [this message]
2004-10-06 8:43 ` Mutual Exclusion in Kernel Robin Doer
2004-10-07 5:18 ` kernel kernel
[not found] <20041006085523.35414.qmail@web52903.mail.yahoo.com>
2004-10-06 14:04 ` Robin Doer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041006055017.42480.qmail@web52903.mail.yahoo.com \
--to=ankitjain1580@yahoo.com \
--cc=Gaurav.Dhiman@ca.com \
--cc=linux-newbie@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox