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 > Assembly Language > Macros for Spin...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 9 Topic 2655 of 5097
Post > Topic >>

Macros for Spinlocks, Mutexes, Semaphores, etc

by Chewy509@[EMAIL PROTECTED] Sep 5, 2005 at 07:45 PM

Hi Everyone,

Does anyone have a macro package to help in multi-threaded programming,
especially handling spinlocks, mutexes and semaphores for the x86 and
x86-64 (AMD64/EM64T)?

While I would prefer it for fasm, any assembler will be fine...

Either that or give some examples of different ways the above
operations can be handled. eg cmpxchg8b can be used to build a
spinlock, but are there other instructions that can be used to perform
the same operation? Similar with mutexes, semaphores, and any other
primitives that are useful in multi-threaded programming?

--
Darran (aka Chewy509) brought to you by Google Groups!
 




 9 Posts in Topic:
Macros for Spinlocks, Mutexes, Semaphores, etc
Chewy509@[EMAIL PROTECTED  2005-09-05 19:45:35 
Re: Macros for Spinlocks, Mutexes, Semaphores, etc
"randyhyde@[EMAIL PR  2005-09-05 19:48:02 
Re: Macros for Spinlocks, Mutexes, Semaphores, etc
"hutch--" <h  2005-09-05 19:49:52 
Re: Macros for Spinlocks, Mutexes, Semaphores, etc
Chewy509@[EMAIL PROTECTED  2005-09-05 20:00:17 
Re: Macros for Spinlocks, Mutexes, Semaphores, etc
"randyhyde@[EMAIL PR  2005-09-05 20:09:36 
Re: Macros for Spinlocks, Mutexes, Semaphores, etc
Chewy509@[EMAIL PROTECTED  2005-09-05 20:32:19 
Re: Macros for Spinlocks, Mutexes, Semaphores, etc
"hutch--" <h  2005-09-05 22:38:33 
Re: Macros for Spinlocks, Mutexes, Semaphores, etc
"wolfgang kern"  2005-09-06 19:57:26 
Re: Macros for Spinlocks, Mutexes, Semaphores, etc
"randyhyde@[EMAIL PR  2005-09-06 12:56:52 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Wed Aug 20 4:31:06 CDT 2008.