public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
* info needed on atomic operations
@ 2004-01-01 21:34 Srinivas Chinta
  0 siblings, 0 replies; 3+ messages in thread
From: Srinivas Chinta @ 2004-01-01 21:34 UTC (permalink / raw)
  To: linux-newbie

Hi all,
 
I need some information on atomic operations.
Please provide me some information on how do I do the
following operations atomically(for iX86):
(1) set a charecter ( dst = src),
(2) compare and then set a charecter ( if (dst==X) 
dst = src;)
 
It would be great If you provide some references to
any good documents.
 
Thanks,
Srini


__________________________________
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003
-
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* info needed on atomic operations
@ 2004-01-04 12:24 Srinivas Chinta
  2004-01-04 16:57 ` Jake Seevers
  0 siblings, 1 reply; 3+ messages in thread
From: Srinivas Chinta @ 2004-01-04 12:24 UTC (permalink / raw)
  To: linux-newbie

Hi all,
 
I need some information on atomic operations.
Please provide me some information on how do I do the
following operations atomically(for iX86):
(1) set a charecter ( dst = src),
(2) compare and then set a charecter ( if (dst==X) 
dst = src;)
 
It would be great If you provide some references to
any good documents.
 
Thanks,
Srini



__________________________________
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003
-
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: info needed on atomic operations
  2004-01-04 12:24 info needed on atomic operations Srinivas Chinta
@ 2004-01-04 16:57 ` Jake Seevers
  0 siblings, 0 replies; 3+ messages in thread
From: Jake Seevers @ 2004-01-04 16:57 UTC (permalink / raw)
  To: linux-newbie; +Cc: Srinivas Chinta

Srinivas,

On Sunday 04 January 2004 13:24, Srinivas Chinta wrote:
> Hi all,
>
> I need some information on atomic operations.
> Please provide me some information on how do I do the
> following operations atomically(for iX86):
> (1) set a charecter ( dst = src),
> (2) compare and then set a charecter ( if (dst==X)
> dst = src;)

What exactly are trying to do? Are you working in user- or in kernelspace? 
What kernel? What programming language?

Cheers

Jake
-
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-01-04 16:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-04 12:24 info needed on atomic operations Srinivas Chinta
2004-01-04 16:57 ` Jake Seevers
  -- strict thread matches above, loose matches on Subject: below --
2004-01-01 21:34 Srinivas Chinta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox