Re: Proposal: asyncronous backends
- From: dave <davidr sucs org>
- To: Joe Shaw <joe ximian com>
- Cc: dashboard <dashboard-hackers gnome org>
- Subject: Re: Proposal: asyncronous backends
- Date: Fri, 05 Mar 2004 21:18:34 +0000
> The backends' processing function happens in a separate thread, and the
> results should be added as the backends return. If that's not the case,
> there's probably a locking bug in there.
OK, I'll look into the locking thing. But I still think callbacks is a
useful mechanism to have, because in some circumstances it's very useful
for the backend to be able to refine its results.
For example, with the location display, we can display a location
immediately, then update that display when we get some weather
information from a web service - which is often around 10-20 seconds
later. In this situation, just having separate threads isn't enough.
What do you think?
dave
>
> Joe
>
> _______________________________________________
> Dashboard-hackers mailing list
> Dashboard-hackers gnome org
> http://mail.gnome.org/mailman/listinfo/dashboard-hackers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]