As I understand Concurrency and Parallelism
Concurrency- Dealing with multiple tasks at the same time.
Concurrency is when two tasks can start, run, and complete in overlapping time periods. It doesn’t necessarily mean they’ll ever both be running at the same instant. Eg. multitasking on a single-core machine
Parallelism- Actually executing multiple task at the same time.
Parallelism is when tasks literally run at the same time, eg. on a multicore processor.
As we know that every Android App runs in its own process and allocates some memory.As in a multithreaded app, multiple threads are running simultaneously.Does those multiple threads are running concurrently or parallely? I can assume that if the Android Device is Single Core then the multiple threads are running Concurrently. But what if the Android Device has multiple cores(e.g dual core, quad core etc), are they all running parallelly here ?
Because all those threads are running in a single process, they will use the process address space for execution.So the question is does on a multi-core android device all the threads runs parallel?