Closed Bug 194222 Opened 22 years ago Closed 22 years ago

Use the new NSPR 4.3 function PR_CallOnceWithArg

Categories

(NSS :: Libraries, defect, P2)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wtc, Assigned: wtc)

Details

Attachments

(2 files)

NSPR 4.3 has a new function PR_CallOnceWithArg that allows you to pass an argument to the call-once function. The SECMOD_CallOnce function that we added in NSS 3.7 as part of the fix for bug 183612 should be replaced by PR_CallOnceWithArg. I also found that there is an implementation of "call once with arg" in lib/base/tracker.c that can be replaced by this new NSPR 4.3 function.
tracker.c should be ignored. It's not being used, it won't be used in stan, and has already been removed from the stan working branch.
I already made the changes to tracker.c before I saw Ian's comment. Here is the patch, for reference only.
Attachment #115010 - Flags: review?(ian.mcgreer)
Attachment #115010 - Flags: review?(ian.mcgreer) → review+
Patch checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Priority: -- → P2
Resolution: --- → FIXED
Target Milestone: --- → 3.8
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: