Re: Threadsafety and UI responsiveness
- From: Mathieu Lacage <Mathieu Lacage sophia inria fr>
- To: Mikkel Kamstrup Erlandsen <kamstrup daimi au dk>
- Cc: nautilus-list gnome org
- Subject: Re: Threadsafety and UI responsiveness
- Date: Fri, 17 Jun 2005 15:52:30 +0200
On Fri, 2005-06-17 at 12:40 +0200, Mikkel Kamstrup Erlandsen wrote:
> I do see the benefits of simplicity in Nautilus being thread-safe, but
> wouldn't allowing multiple threads to update the UI concurrently give
> better responsiveness?
Maybe. However, it is quite possible to get excellent responsiveness
with the current architecture if you are careful. This means:
- do lengthy stuff in a background thread
- schedule updates from the background thread when needed
- updates take place in the main thread and are really fast.
Mathieu
--
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]