On Mon, Jan 14, 2013 at 1:56 PM, Claudio Carbone <[email protected]> wrote:
> If I just pass a void pointer to the zmq context, all is fine. > If I pass a pointer to my struct (with explicit castings on both sides), the > problems shows its head. The code doesn't appear to be sharing the structure between threads so it could be an alignment issue. However, it's a complex test case to test that problem. My advice is to (a) determine what is actually wrong with the structure passed to the child thread, i.e., which fields are corrupted and when; and (b) strip this down to a much simpler test case (it's not a pgm issue at all, is it?) and (c) please use a pastebin or gist, because source code in emails is hard to play with. -Pieter _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
