> Also that is in the test code (libibnetdisc/test/iblinkinfotest.c). The real > iblinkinfo has them all declared static. > > void > print_port(ibnd_node_t *node, ibnd_port_t *port) > { > static char remote_guid_str[256]; > static char remote_str[256];
so this function is not thread-safe.... This seems to be setting an unnecessary booby-trap; is there a reason not to put these variables on the stack? _______________________________________________ general mailing list general@lists.openfabrics.org http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general