Re: Fallibility of NS_DispatchTo[Current|Main]Thread

2013-04-30 Thread Benjamin Smedberg
On 4/29/2013 1:32 PM, Kyle Huey wrote: Is it feasible to make these functions infallible? What work would need to be done? The relevant data and discussion of this is in https://bugzilla.mozilla.org/show_bug.cgi?id=803174 --BDS ___ dev-platform mai

Re: Fallibility of NS_DispatchTo[Current|Main]Thread

2013-04-29 Thread Robert O'Callahan
On Tue, Apr 30, 2013 at 5:32 AM, Kyle Huey wrote: > Is it feasible to make these functions infallible? What work would need to > be done? > Off the top of my head, I think it probably is feasible. IIRC XPCOM event dispatch can fail for two reasons: OOM, and when the thread has been shut down. W

Fallibility of NS_DispatchTo[Current|Main]Thread

2013-04-29 Thread Kyle Huey
Is it feasible to make these functions infallible? What work would need to be done? - Kyle ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform