Stopgap measure for hang adding security rules

Get answers to your Shareaza related problems.
Forum rules
Home | Wiki | Rules

Stopgap measure for hang adding security rules

Postby grey-hame » 26 Feb 2010 03:26

If adding security rules is going to be computationally intensive, might I suggest at least:

1. Doing it in a separate thread from the one that makes the UI responsive, and

2. Giving that thread a lowered priority?

Basically, the same as is already the case for hashing.
grey-hame
 
Posts: 189
Joined: 08 Aug 2009 19:47

Re: Stopgap measure for hang adding security rules

Postby old_death » 26 Feb 2010 19:05

That's a design flaw in Shareaza. In fact, what we need would be a lockless and separated GUI, this means that everything else should be performed in a thread separated from the one executing / displaying the GUI and there should be buffers allowing the GUI to access data to display without being forced to wait until an other part of the application has stopped working on it respectively modifying it.
User avatar
old_death
 
Posts: 1950
Joined: 13 Jun 2009 16:19


Return to Help and Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron