I'm using the threading library and everything works fine, but I always see in the top right window of the IDE the message "Variable "RDC_Thread" was not initialized. (warning #11)
Am I doing something of wrong ? I would like to get rid of this warning
This is the relevant code:
B4X:
Sub Process_Globals
Dim RDC_Thread As Thread
End Sub
Sub Service_Create
RDC_Thread.Initialise("RDC_ThreadSub")
This is caused by the fact that Thread's initializer is spelled with an "s" instead of a "z". It's nothing about which to worry. If you want to get rid of the warning, put a comment on the offending line that says "ignore":