zer0stimulus
zer0stimulus

Reputation: 23626

Are Android thread id's global per process?

When you do a Thread.currentThread().getId(), is the resulting thread id scoped per process or scoped to the current Activity/Service?

Upvotes: 0

Views: 345

Answers (1)

fadden
fadden

Reputation: 52323

It's per-process. The VM has no understanding of activities and services.

Upvotes: 1

Related Questions