Project

General

Profile

Actions

Bug #354

closed

More fine grained atomic support

Added by Victor Julien about 13 years ago. Updated about 13 years ago.

Status:
Rejected
Priority:
Low
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

For bug #342 the atomic operations code falls back to spinlocks for any arch that doesn't support __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8. Certain generations of P4 have __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4, but not __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8.

We should look into supporting atomic operations for 4 byte int's even if 8 byte int's aren't supported.

Actions

Also available in: Atom PDF