Lazarus

Programming => Networking and Web Programming => Topic started by: Gustavo 'Gus' Carreno on July 27, 2021, 04:34:46 pm

Title: Question about an asynchronous algorithm
Post by: Gustavo 'Gus' Carreno on July 27, 2021, 04:34:46 pm
Hey Remy,

I'm trying to do a modularized system that communicates via IPC between all the modules.

I've got most of the big picture sorted out but there's a step that I'm missing cuz I don't know enough about Indy10's context lists to think about how to do it.

So here's the gist of the matter:

I'm stuck cuz on step 6 cuz I don't know how to use the context ID to now send the answer.

Do I get the locked list in it's entirety, loop through it and then send the reply?
Is there an indexed property I can use?
And how do I do all this in a thread safe manner?

How would I go about it?

Many, MANY thanks in advance Remy!!

Cheers,
Gus
TinyPortal © 2005-2018