Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[wm21 - android] question about ExecuteMainThread() (2 replies)

$
0
0
Hi,

can anyone explain in detail the flow of process of ExecuteMainThread() ?

help explain "Triggers the execution of a procedure by the main thread of the application"

I don't understand . when is the execution start ?

for example if I have 5 looper in a windows , each looper create one thread to retrieve data and fill into the looper . in each thread i use ExecuteMainThread(add_row) to add to looper.

This is my assumption what will happen:
since I have 5 thread running with mean there will be 5 request "Triggers the execution" to main thread. this cause main thread to execute one request at a time.
If main thread is busy then the 5 request "Triggers the execution" will have to wait until main thread is free

am I right ?

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>