A question about Threads

Just starting out? Need help? Post your questions and find answers here.
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

A question about Threads

Post by davido »

When I have used Threads I have limited the active code to be only in a single procedure.
Is there any reason why I shouldn't be able to call other procedures? IsThread seems to indicate that it is ok.
Can anyone help, please?
DE AA EB
User avatar
Bisonte
Addict
Addict
Posts: 1232
Joined: Tue Oct 09, 2007 2:15 am

Re: A question about Threads

Post by Bisonte »

When I have used Threads I have limited the active code to be only in a single procedure.
WHO ?! said this ?

If so.... Why have I been able to do this flawlessly for years?
PureBasic 6.10 LTS (Windows x86/x64) | Windows10 Pro x64 | Asus TUF X570 Gaming Plus | R9 5900X | 64GB RAM | GeForce RTX 3080 TI iChill X4 | HAF XF Evo | build by vannicom​​
English is not my native language... (I often use DeepL to translate my texts.)
User avatar
NicTheQuick
Addict
Addict
Posts: 1227
Joined: Sun Jun 22, 2003 7:43 pm
Location: Germany, Saarbrücken
Contact:

Re: A question about Threads

Post by NicTheQuick »

There is no reason to not call other procedures.
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: A question about Threads

Post by davido »

@Bisonte,
Thank you for your confirmation that it is ok. :D

Until now I've never needed to use more than one procedure. Now I do, so I thought I would ask.
DE AA EB
Post Reply