This question hasn't really been answered from what I can find in the forums. There is no facility for multithreading in B4A except for some classes (eg HTTP), as Android (or B4A) doesn't support it. Everything runs in async queues, like in Javascript. You can't "spawn" a new thread for a particular instance of your class.
But I was wondering how do we get true threading in B4J? The equivalent of .Net's System.Threading.Thread class and Thread.Start? I've found this feature immensely useful in Windows and was hoping the same can be done in B4J.
In other posts, Erel asked for more information, here is an example.
I have B4A project that uses Wait-For with HTTP Get calls (which use a built-in queuing system), but then I need to do some processing on separate threads, each which calls more HTTP Gets. Obviously this can't be done in Android or B4A (because they queue up, rather than multithread). But is real Threading possible with B4J programs on Windows & Linux deployments? The underlying oeprating systems are capable of it (because we do threading in .NET), but how to do in B4X, as I want to convert the program over to work on B4J?
But I was wondering how do we get true threading in B4J? The equivalent of .Net's System.Threading.Thread class and Thread.Start? I've found this feature immensely useful in Windows and was hoping the same can be done in B4J.
In other posts, Erel asked for more information, here is an example.
I have B4A project that uses Wait-For with HTTP Get calls (which use a built-in queuing system), but then I need to do some processing on separate threads, each which calls more HTTP Gets. Obviously this can't be done in Android or B4A (because they queue up, rather than multithread). But is real Threading possible with B4J programs on Windows & Linux deployments? The underlying oeprating systems are capable of it (because we do threading in .NET), but how to do in B4X, as I want to convert the program over to work on B4J?