[zeromq-dev] hold zactors in a zlist(x)_t

Juergen Gnoss jgnoss at hotmail.com
Mon Dec 28 12:43:46 CET 2020


I need a bit of brainstorming, so, I just pop that question in the round.


I've a variable number of parameters for algorithms stored in a zconfig.

On program start I need to go through that config and start an algorithm-actor for each parameter-set.

Since this is very dynamic, it comes to my mind holding that actors in a zlist(x)_t.
How valid is that?

I don't need to shuffle them around in the list, just add them,

identify them if there is a msg coming from them and

destroy them if no longer needed.

If I implement a duplicator-, comparator- and the free-function, I should be fine.


Is that a valid way to go, or is there another suggestion.


Thanks

Ju
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20201228/d5904c37/attachment.htm>


More information about the zeromq-dev mailing list