The Following User Says Thank You to epage For This Useful Post: | ||
|
2010-04-22
, 21:14
|
|
Posts: 1,012 |
Thanked: 817 times |
Joined on Jul 2007
@ France
|
#22
|
An alternative is to use a worker thread per set of logic data to avoid locks and then wrap it in classes to handle the jumping between the main loop and my thread.
AsyncLinearExecutor code:
https://garage.maemo.org/plugins/ggi...51e98721401e72
Code that uses AsyncLinearExecutor:
https://garage.maemo.org/plugins/ggi...51e98721401e72
|
2010-04-22
, 21:25
|
|
Posts: 1,684 |
Thanked: 1,562 times |
Joined on Jun 2008
@ Austin, TX
|
#23
|
Maybe but mine work also if the app is in background and we didn t want eat too much cpu of the app in front
|
2010-04-23
, 05:42
|
|
Posts: 1,012 |
Thanked: 817 times |
Joined on Jul 2007
@ France
|
#24
|
I guess I'm not seeing the case but oh well, both work with each probably best for different needs
|
2010-04-23
, 11:40
|
Posts: 163 |
Thanked: 96 times |
Joined on Feb 2010
@ Israel
|
#25
|
|
2010-04-23
, 12:31
|
|
Posts: 1,012 |
Thanked: 817 times |
Joined on Jul 2007
@ France
|
#26
|
|
2010-04-24
, 01:49
|
|
Posts: 1,635 |
Thanked: 1,816 times |
Joined on Apr 2008
@ Manchester, England
|
#27
|
Interesting post....... I feel i may be able to provide a few tests to back up issues....
Healthcheck currently has about 300 redundant lines of code (Comments + Blank lines) probably 25% of the total.
I'll run a version of it without all of those and compare load times
The Following User Says Thank You to lcuk For This Useful Post: | ||
|
2010-04-25
, 19:22
|
|
Posts: 3,203 |
Thanked: 1,391 times |
Joined on Nov 2009
@ Worthing, England
|
#28
|
The Following 5 Users Say Thank You to noobmonkey For This Useful Post: | ||
|
2010-04-25
, 19:35
|
|
Posts: 1,635 |
Thanked: 1,816 times |
Joined on Apr 2008
@ Manchester, England
|
#29
|
|
2010-04-25
, 21:39
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#30
|
The Following User Says Thank You to attila77 For This Useful Post: | ||
Tags |
performance, python |
|
AsyncLinearExecutor code:
https://garage.maemo.org/plugins/ggi...51e98721401e72
Code that uses AsyncLinearExecutor:
https://garage.maemo.org/plugins/ggi...51e98721401e72
770, n810, n900, Ideapad S10-3t
TheOneRing, DialCentral, Gonvert, Quicknote, Multilist, ejpi, nQa, Waters of Shiloah
Programming Blog