Android Question How to Use multithreading ?

sseaand

Member
Licensed User
Longtime User
How to use threads in B4A to distribute on the CPU cores ? B B4J possible to use a multi-core processor when converting code from B4A ?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Many things in B4A are multithreaded. For example all the asynchronous SQL methods and all the network related methods.

Your code will run on the main thread. You can use the Threading library to run code on a different thread. In most cases it is a mistake as there are other, simpler and better solutions.

B4J possible to use a multi-core processor when converting code from B4A ?
Please start a new thread in B4J questions for questions about B4J.
 
Upvote 0
Top