Closed
Bug 443877
Opened 16 years ago
Closed 16 years ago
Need a way to point timers at a different event target
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
People
(Reporter: bent.mozilla, Assigned: bent.mozilla)
References
Details
Attachments
(1 file, 1 obsolete file)
10.72 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
I'm using timers in a thread pool for bug 437152 to implement timeouts and I needed a way to send a timer event to a different thread. Attached is a patch that extends the nsITimer interface to allow this. I extended the interface here but I could very easily make it a new FF_3_1 interface or something...
Attachment #328300 -
Flags: review?(benjamin)
Updated•16 years ago
|
Version: unspecified → Trunk
Comment 1•16 years ago
|
||
Comment on attachment 328300 [details] [diff] [review] Patch, v1 Want tests...
Attachment #328300 -
Flags: review?(benjamin) → review-
Assignee | ||
Comment 2•16 years ago
|
||
Same patch with a testcase.
Attachment #328300 -
Attachment is obsolete: true
Attachment #330568 -
Flags: review?(benjamin)
Updated•16 years ago
|
Attachment #330568 -
Flags: review?(benjamin) → review+
Assignee | ||
Comment 3•16 years ago
|
||
Pushed to moz-central. Had to change 'NS_GetCurrentThread()' to 'do_GetCurrentThread()' in the test file for libxul builds to be happy.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•