Closed Bug 698320 Opened 8 years ago Closed 4 years ago

<keygen> blocks main (UI) thread

Categories

(Core :: Security: PSM, defect)

x86_64
Windows 7
defect
Not set

Tracking

()

RESOLVED WONTFIX

People

(Reporter: briansmith, Unassigned)

Details

(Keywords: main-thread-io)

We use nsIThread::Join() to cause the main thread to wait for the background thread to complete, because we pass pointers to local variables to the background thread. Instead, we should avoid blocking the main thread.

Also, at least <keygen> might do disk I/O, and that disk I/O needs to execute off the main thread.

There may be other similar uses of nsIThread::Join() on the main thread in PSM that need to be cleaned up.
Bug 1030963 removed crypto.generateCRMFRequest().
Summary: <keygen> and crypto.generateCRMFRequest block main (UI) thread → <keygen> blocks main (UI) thread
keygen -> wontfix
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.