S sseaand Member Licensed User Longtime User May 18, 2017 #1 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 ?
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 May 19, 2017 #2 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. sseaand said: B4J possible to use a multi-core processor when converting code from B4A ? Click to expand... Please start a new thread in B4J questions for questions about B4J. Upvote 0
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. sseaand said: B4J possible to use a multi-core processor when converting code from B4A ? Click to expand... Please start a new thread in B4J questions for questions about B4J.