Closed Bug 77140 Opened 24 years ago Closed 24 years ago

calls from java to xpcom and back should be thread transparent

Categories

(Core Graveyard :: Java to XPCOM Bridge, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: blackconnect, Assigned: blackconnect)

Details

Attachments

(1 file)

Here is a scenario. Java object calls xpcom object method it calls some java object. The last java execution should happen at the same thread the first invocation occurs. Threads switches when we call c++ xpcom object from java should be transparent to java.
moving to "Java to XPCOM Bridge"
Status: NEW → ASSIGNED
Component: Java-Implemented Plugins → Java to XPCOM Bridge
Changing QA contact
QA Contact: geetha.vaidyanaathan → avm
Attached patch fix for the bugSplinter Review
http://bugzilla.mozilla.org/showattachment.cgi?attach_id=32618 is a suggested fix for the bug. the logic schema is in bcXPCOMStub::Dispatch push caller event queue in the callee thread local storage. at the time bcXPCOM proxy get called use stored event queue to execute call in the right thread. when bcXPCOMStub::Dispatch finished pop event queue from the storage. NULL event queue means current thread. I am closing this bug as fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: