Behdad Esfahbod
|
0558d55bac
|
Remove hb_atomic_int_set/get()
We never use them in fact...
I'm just adjusting these as I better understand the requirements of
the code and the guarantees of each operation.
|
2012-05-28 10:46:47 -04:00 |
Behdad Esfahbod
|
a3547330fa
|
Cleanup atomic ops on OS X
|
2012-05-27 10:20:47 -04:00 |
Behdad Esfahbod
|
819faa0530
|
Minor
|
2012-05-27 10:09:18 -04:00 |
Behdad Esfahbod
|
303d5850ec
|
Fix Windows atomic get/set
According to:
http://msdn.microsoft.com/en-us/library/65tt87y8.aspx
MemoryBarrier() is the right macro to protect these, not _ReadBarrier()
and/or _WriteBarrier().
|
2012-05-27 10:01:13 -04:00 |
Behdad Esfahbod
|
cde1c0114b
|
Fix hb_atomic_int_set() implementation for HB_NO_MT
As pointed out by Jonathan Kew.
|
2012-05-24 10:46:39 -04:00 |
Behdad Esfahbod
|
bd908b4f10
|
Implement hb_atomic_int_set() for OS X
|
2012-05-17 22:02:08 -04:00 |
Behdad Esfahbod
|
022a05ae90
|
Minor
|
2012-05-17 21:53:24 -04:00 |
Behdad Esfahbod
|
22afd66a30
|
Add hb_atomic_int_set() again
|
2012-05-17 21:23:49 -04:00 |
Behdad Esfahbod
|
34961e3198
|
Prefer native atomic/mutex ops to glib's
|
2012-05-17 20:50:38 -04:00 |
Behdad Esfahbod
|
ec3ba4b96f
|
Move atomic ops into their own header
|
2012-05-17 20:30:46 -04:00 |