Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Programming Threads > Re: new multico...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 15 of 16 Topic 4019 of 4146
Post > Topic >>

Re: new multicore programming docs for GCC and Visual Studio

by "Chris M. Thomasson" <no@[EMAIL PROTECTED] > Sep 30, 2008 at 03:01 AM

"Dmitriy V'jukov" <dvyukov@[EMAIL PROTECTED]
> wrote in message 
news:dd05d47f-9502-43a0-ac49-844bbe34c6c7@[EMAIL PROTECTED]
 Sep 29, 5:02 pm, "Chris M. Thomasson" <n...@[EMAIL PROTECTED]
> wrote:

> > You mean:
> >
> > 1 atomic RMW and 1 StoreLoad membar for lock
> > 1 atomic RMW and 1 LoadStore membar for unlock
> >
> > 2 atomics, and 2 membars; fairly expensive... Well... You indeed have
a 
> > good
> > point in the case that stealing is rare...


> No, I mean for spin-mutex:
> 1 atomic RMW + 1 StoreLoad membar for lock
> store-release for unlock

Ahhh, I fail see spin-mutex and thing adaptive mutex. Sorry for my 
confusion.




> Which for x86 means:
> 1 atomic RMW for lock (StoreLoad is implied, and so basically
> costless)

IMHO, its not costless. Not at all...




> plain store for unlock (release is implied)

Indeed.
 




 16 Posts in Topic:
new multicore programming docs for GCC and Visual Studio
"cynko" <sie  2008-09-12 07:09:01 
Re: new multicore programming docs for GCC and Visual Studio
"Dmitriy V'jukov&quo  2008-09-12 06:27:57 
Re: new multicore programming docs for GCC and Visual Studio
"cynko" <sie  2008-09-16 21:50:09 
Re: new multicore programming docs for GCC and Visual Studio
"Chris M. Thomasson&  2008-09-19 02:23:55 
Re: new multicore programming docs for GCC and Visual Studio
"gremlin" <g  2008-09-28 12:13:07 
Re: new multicore programming docs for GCC and Visual Studio
"Chris M. Thomasson&  2008-09-28 14:20:48 
Re: new multicore programming docs for GCC and Visual Studio
"Chris M. Thomasson&  2008-09-28 14:23:00 
Re: new multicore programming docs for GCC and Visual Studio
"gremlin" <g  2008-09-29 07:43:44 
Re: new multicore programming docs for GCC and Visual Studio
"Chris M. Thomasson&  2008-09-29 05:23:10 
Re: new multicore programming docs for GCC and Visual Studio
"Chris M. Thomasson&  2008-09-29 05:25:23 
Re: new multicore programming docs for GCC and Visual Studio
"Dmitriy V'jukov&quo  2008-09-29 05:35:27 
Re: new multicore programming docs for GCC and Visual Studio
"Chris M. Thomasson&  2008-09-29 06:02:31 
Re: new multicore programming docs for GCC and Visual Studio
Jean-Marc Desperrier <  2008-09-29 19:43:26 
Re: new multicore programming docs for GCC and Visual Studio
"Dmitriy V'jukov&quo  2008-09-29 06:06:53 
Re: new multicore programming docs for GCC and Visual Studio
"Chris M. Thomasson&  2008-09-30 03:01:54 
Re: new multicore programming docs for GCC and Visual Studio
"Chris M. Thomasson&  2008-09-30 03:09:57 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 9:45:13 CST 2008.