[zeromq-dev] Proposal for a revised zlist API
Pieter Hintjens
ph at imatix.com
Thu Sep 4 21:00:44 CEST 2014
:-) I started, by coincidence, to make some of these changes already.
Hope to have this ready soon. Nothing dramatic, just the global callbacks.
We can take the other changes one by one. Breaking the v2 API is not
an option, and renaming zlist to another name isn't plausible either
IMO. So we may rename some methods, like zlist_dup, which make broken
assumptions (autofree, in that case).
-Pieter
On Thu, Sep 4, 2014 at 5:38 PM, Goswin von Brederlow <goswin-v-b at web.de> wrote:
> On Thu, Sep 04, 2014 at 04:59:19PM +0200, Goswin von Brederlow wrote:
>> Hi,
>>
>> I've gone over the zlist API and redesigned it according to some ideas
>> we had last month (partly for the zring class). I tried this out on
>> zlist to see how the ideas would fit but the idea would be to change
>> all the classes where appropriate so they behave the same.
>
> In case it wasn't clear this is just an experiment to see how it could
> work. To see if it makes more sense that way. No attempt is made to
> preserve backward compatibility and none is ment.
>
> I wanted to design the cursor behaviour and global callbacks cleanly
> without having to worry about making them work parallel to the old
> API. It might be possible to do that though.
>
> MfG
> Goswin
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
More information about the zeromq-dev
mailing list