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 ?
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 ?