Open Bug 460902 Opened 17 years ago Updated 3 years ago

PR_ATOMIC_SET macros are not portable

Categories

(NSPR :: NSPR, defect)

defect

Tracking

(Not tracked)

People

(Reporter: sdwilsh, Unassigned)

Details

The PR_ATOMIC_SET macros require different types of variables (some want volatile, some don't) on various platforms. This makes the macros unusable, and forces anyone who wants to use atomic set to use the functions. Ideally, we should have a new type added that lets us use the right type automagically (like PRAtomicInt32 perhaps?)

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: wtc → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.