taskGnash - The GNU Flash player - Tasks: task #6960, Remove threads use in the core lib

 
 

You are not allowed to post comments on this tracker with your current authentification level.

task #6960: Remove threads use in the core lib

Submitted by:  Sandro Santilli <strk>
Submitted on:  Thu May 31 13:03:12 2007  
 
Should Start On: Wed May 30 22:00:00 2007Should be Finished on: Wed May 30 22:00:00 2007
Category: NonePriority: 1 - Later
Status: NonePrivacy: Public
Percent Complete: 0%Assigned to: None
Open/Closed: OpenEffort: 0.00

Thu Jan 10 10:30:47 2008, comment #4:

Another limit of thread use in the core lib is
predictability of execution for testing.

Note I'm not saying to drop thread use in general,
but only from the core lib.

When loading, for example, the core lib would request
load from the hosting app, which may choose to do that
in a separate thread ...

Sandro Santilli <strk>
Project Member
Tue Dec 18 00:04:27 2007, comment #3:

We basically want I/O to be asynchronous, that's the final goal.
In particular, loads should not make the GUI unresponsive.
We can obtain this in two ways:

- non blocking reads from a single thread

- blocking reads in background threads with
notification mechanism (new data arrived,
end of stream, timeout) and cancel requests.

Sandro Santilli <strk>
Project Member
Sat Dec 15 16:12:02 2007, comment #2:

I personally like using threads, and find that trying to design software to remove thread use is often more of a mistake than surviving learning to debug threads. While I do think it's a good idea to not have overly heavy usage of threading, Gnash doesn't. In my experience, the callback mechanism you're proposing can often be messier and more trouble that it is worth.

Rob Savoye <rsavoye>
Project Administrator
Sat Dec 15 11:10:59 2007, comment #1:

Started a wiki page for a plan:

http://wiki.gnashdev.org/wiki/index.php/ThreadingRemoval

Sandro Santilli <strk>
Project Member
Thu May 31 13:03:12 2007, original submission:

This is just an idea (for after the 0.8.0 release) to make things simpler and possible more performant.

See gnash-dev archives for more info (Subject: post-release task item: removing threads use).

Also see http://www.gnashdev.org/wiki/index.php/MovieAdvancement

Sandro Santilli <strk>
Project Member

 

No files currently attached

 

Digest:
   task dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rsavoye (Posted a comment)
  • -unavailable- added by strk (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu May 31 14:04:23 2007strkDependencies-=>Depends on task #6962

    Back to the top


    Powered by Savane 3.1-cleanup