

|
 |
| << 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:
|
Chewy509@[EMAIL PROTECTED |
2005-09-05 19:45:35 |
|
"randyhyde@[EMAIL PR |
2005-09-05 19:48:02 |
|
"hutch--" <h |
2005-09-05 19:49:52 |
|
Chewy509@[EMAIL PROTECTED |
2005-09-05 20:00:17 |
|
"randyhyde@[EMAIL PR |
2005-09-05 20:09:36 |
|
Chewy509@[EMAIL PROTECTED |
2005-09-05 20:32:19 |
|
"hutch--" <h |
2005-09-05 22:38:33 |
|
"wolfgang kern" |
2005-09-06 19:57:26 |
|
"randyhyde@[EMAIL PR |
2005-09-06 12:56:52 |
|
Post A Reply:

|
|
|
|