Arkadiy_Kolomiets
Topic Author
Posts: 9
Joined: 16 Jun 2024, 07:45

Dispatcher

02 Dec 2024, 15:40

Hi there. Is there a dispatcher analog in C++ that allows changing a property from the thread that created this property to avoid access invalidation?

I mean something like:
Invoke or BeginInvoke function like in the WPF
 
User avatar
sfernandez
Site Admin
Posts: 3183
Joined: 22 Dec 2011, 19:20

Re: Dispatcher

03 Dec 2024, 11:10

Hello,

Noesis does not handle any threads internally, all multithreading management relies on user code, so you're in charge of knowing which thread created the View and where all the updates should be sent.

We have considered a few times to add a Dispatcher-like queue to the View that could be processed when the user calls Update, but have not been demanded yet.

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot] and 10 guests