Closed Bug 243107 Opened 21 years ago Closed 21 years ago

make ipcIService and ipcILockService threadsafe

Categories

(Core :: IPC, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: darin.moz, Assigned: darin.moz)

Details

Attachments

(1 file)

make ipcIService and ipcILockService threadsafe. this is necessary to support shared, multiprocess access to the NSS databases. NSS may access these databases (via the RDB interface) on either the main thread or the socket transport thread.
Attached patch v1 patchSplinter Review
This patch modifies IPC_DefineTarget such that callers may specify whether or not the ipcIMessageObserver's OnMessageAvailable method should be called on the same thread that called IPC_DefineTarget or if should be called from the IPC thread (or any background thread for that matter). The ipcILockService is also modified in this patch such that it no longer supports an asynchronous OnAcquireLockComplete API. There are no consumers for this API, and it greatly complicates the implementation.
fixed-on-trunk
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
QA Contact: ipc
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: