Re: Threadsafety and UI responsiveness



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]