Closed
Bug 660473
Opened 13 years ago
Closed 13 years ago
Replace PR_Atomic* functions with macros in mailnews
Categories
(MailNews Core :: Backend, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 7.0
People
(Reporter: swsnyder, Assigned: swsnyder)
Details
Attachments
(1 file, 1 obsolete file)
2.08 KB,
patch
|
Usul
:
review+
|
Details | Diff | Splinter Review |
Replaces NSPR PR_AtomicIncrement() and PR_AtomicDecrement() functions with equivalent macros. Done for performance reasons and for compatibity with the rest of the contemporary Gecko codebase. See also bug 592557 for non-mailnews replacements.
Assignee | ||
Updated•13 years ago
|
Attachment #535882 -
Attachment is patch: true
Attachment #535882 -
Attachment mime type: text/x-patch → text/plain
Updated•13 years ago
|
Attachment #535882 -
Flags: review?(neil)
Updated•13 years ago
|
Component: General → Backend
Product: Thunderbird → MailNews Core
QA Contact: general → backend
Updated•13 years ago
|
Assignee: nobody → swsnyder
Status: NEW → ASSIGNED
Comment 1•13 years ago
|
||
Comment on attachment 535882 [details] [diff] [review] Replace PR_Atomic* functions with macros >- nsrefcnt count = PR_AtomicDecrement((PRInt32 *)&mRefCnt); >+ nsrefcnt count = PR_ATOMIC_DECREMENT((PRInt32 *)&mRefCnt); This should be NS_AtomicDecrementRefcnt(mRefCnt) r=me with that fixed.
Attachment #535882 -
Flags: review?(neil) → review+
Comment 2•13 years ago
|
||
Steve can you upload a patch fixing the review ?
Assignee | ||
Comment 3•13 years ago
|
||
Addressed review comment.
Attachment #535882 -
Attachment is obsolete: true
Comment 4•13 years ago
|
||
Comment on attachment 537337 [details] [diff] [review] Replace PR_Atomic* functions - updated Carrying r+ from Neil
Attachment #537337 -
Flags: review+
Updated•13 years ago
|
Keywords: checkin-needed
Comment 5•13 years ago
|
||
Checked in: http://hg.mozilla.org/comm-central/rev/0bf46f79173a
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 7.0
You need to log in
before you can comment on or make changes to this bug.
Description
•