Posts: 12,456
Joined: Oct 2014
Reputation:
602
Thread moved to Kodi Application Development
Posts: 1,506
Joined: Nov 2013
Process() runs on a separate thread. Start() starts that thread.
Posts: 1,506
Joined: Nov 2013
xbmc/thread/Thread.h is the base class
Posts: 1,506
Joined: Nov 2013
then the cause is likely that you have not enabled sync to display. in ::Start it sets the reference value, THEN checks if it should start the thread. so you would see a changing value, just not very often, and it would not run Process(). in any case, crank out the debugger i will tell you exactly what is going on..
Posts: 16,946
Joined: Feb 2011
Reputation:
256
2017-06-14, 08:05
(This post was last modified: 2017-06-14, 08:05 by Memphiz.)
Add a printout in the start method then?
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)
Posts: 1,506
Joined: Nov 2013
You should be able to debug using eg ndk-gdb.
Posts: 1,506
Joined: Nov 2013
which means i perfectly described what happens above no?
Quote:then the cause is likely that you have not enabled sync to display. in ::Start it sets the reference value, THEN checks if it should start the thread. so you would see a changing value, just not very often, and it would not run Process().
Posts: 16,946
Joined: Feb 2011
Reputation:
256
Thats unusable please post your log snippets via pastebin.com - its totally screwed up with no line endings in tapatalk for example ...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)