Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#6785 - Yield whilst database is committing

Attached to Project: Rockbox
Opened by Steve Bavin (pondlife) - Saturday, 10 March 2007, 13:45 GMT+2
Last edited by Steve Bavin (pondlife) - Saturday, 10 March 2007, 14:02 GMT+2
Task Type Patches
Category User Interface
Status Closed
Assigned To No-one
Player Type All players
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

The attached patch just adds a bit of yielding to the database sorting, which makes the UI a bit more responsive during the commit.
(application/octet-stream)    tagcachecommityield.patch (0.5 KiB)
 apps/tagcache.c |    5 +++++
 1 file changed, 5 insertions(+)

This task depends upon

Closed by  Steve Bavin (pondlife)
Saturday, 10 March 2007, 15:35 GMT+2
Reason for closing:  Accepted
Additional comments about closing:  A larger version of this made it to SVN.
Comment by Steve Bavin (pondlife) - Saturday, 10 March 2007, 14:03 GMT+2
Here's a better one, based on time, not an arbitrary count.
(application/octet-stream)    tagcachecommityield.patch (0.6 KiB)
 apps/tagcache.c |   10 ++++++++++
 1 file changed, 10 insertions(+)

Comment by Steve Bavin (pondlife) - Saturday, 10 March 2007, 15:16 GMT+2
Here's another one that uses a timed yield function to tidy up the various "yield counts".
Comment by Steve Bavin (pondlife) - Saturday, 10 March 2007, 15:17 GMT+2
Oops, the file...
(application/octet-stream)    tagcachecommityield.patch (3.4 KiB)
 apps/tagcache.c |   49 ++++++++++++++++++++++++++++++++++---------------
 1 file changed, 34 insertions(+), 15 deletions(-)

Loading...