Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3677

Global methods with preemptive threads question

$
0
0

I am not sure I fully understand what is required in my code to be “thread safe”.

I have an app that currently uses threads. Most all of the methods used in those threads are actually in the thread. But some of those “thread methods” call some “global methods” that are not part of the thread… Mostly those global methods do something very simple like string manipulation. They have a few parameters and return a value.

Can these global methods cause problems if they happen to be called at the same time from two different preemptive threads?

4 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 3677

Trending Articles