Closed Bug 119039 Opened 24 years ago Closed 24 years ago

SharedEmptyBufferHandle bad for threadsafety

Categories

(Core :: XPCOM, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 117153

People

(Reporter: dbaron, Assigned: scc)

Details

The SharedEmptyBufferHandle stuff I wrote in nsSharable[C]String, nsXPIDL[C]String, and the XPCReadableJSStringWrapper (?) is bad for threading, since it's refcounted and is automatically used on all platforms. The extra |AcquireReference| should probably be replaced by the setting of a flag that says that the reference count should be ignored.
I already fixed this. *** This bug has been marked as a duplicate of 117153 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Component: String → XPCOM
You need to log in before you can comment on or make changes to this bug.