mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-12 01:30:03 +00:00
Re-enable spinlocks on {i386,x86_64} since they are now used only for really
small atomic operations (add/sub). This implementation should be enough for that purpose.
This commit is contained in:
parent
e867749999
commit
fd69df24f3
@ -288,8 +288,7 @@ static inline int testandset(volatile int *p)
|
||||
}
|
||||
#endif
|
||||
|
||||
/* FIXME: SheepShaver occasionnally hangs with those locks */
|
||||
#if 0 && (defined(__i386__) || defined(__x86_64__))
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
#define HAVE_TEST_AND_SET 1
|
||||
static inline int testandset(volatile int *p)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user