Hi,
I have just successfully implemented Narek Adonts' "Background Task" class:
https://www.b4x.com/android/forum/t...d-without-blocking-the-ui-asynchronous.64081/
which is quite an intriguing bit of code - brilliant if you have a use for it as I do.
It has set me to thinking about just what exactly is happening.
The class obviously allows you to run another thread asynchronously with the main thread - but where? can you run multiple background threads simultaneously?
My iPhone 4s apparently has a dual core processor - do the threads run on one core? one thread on each core? either? is there any way to monitor what is happening?
Any pointers to good references? - I googled without success.
Regards...
I have just successfully implemented Narek Adonts' "Background Task" class:
https://www.b4x.com/android/forum/t...d-without-blocking-the-ui-asynchronous.64081/
which is quite an intriguing bit of code - brilliant if you have a use for it as I do.
It has set me to thinking about just what exactly is happening.
The class obviously allows you to run another thread asynchronously with the main thread - but where? can you run multiple background threads simultaneously?
My iPhone 4s apparently has a dual core processor - do the threads run on one core? one thread on each core? either? is there any way to monitor what is happening?
Any pointers to good references? - I googled without success.
Regards...