The answer to the question in the title is yes. Many things in B4X are done using background threads.
Yes, with the Threading library. The real answer is that you need to provide more information as in most cases there are better options.
I thought Threading library is for B4A only.
Let say, there are a 1000 similar tasks, but time to finish each task may not be the same. For ex, to finish task 1 need 10 secs, task 2 need 7 secs, and so on.
I want to divide these tasks into 6 threads. Thread 1 assign to task 1, thread 2 assign to task 2, and so on.
When every threads finished the task, it will look for unfinished tasks, and if it found, it will do the task and repeat again the process until no more unfinished tasks exist.
I think this process can't be done using built in B4X background threads. Or can it?