[openib-general] dat_evd_wait & dat_cno_wait not exercised in dtest.c

Jimmy Hill sobebike at gmail.com
Thu Jan 5 13:09:33 PST 2006


It appears that dtest.c does not ever exercise the dat_cno_wait() or
dat_evd_wait() calls. The "polling" flag is initialized to "1" at
declaration time. Specifying "-p" on the command line will set "polling" to
"1", but there is nothing that sets "polling" to "0". Therefore "polling" is
always "1" and all of the dat_cno_wait() and dat_evd_wait() calls are
skipped regardless if the consumer leaves off the "-p" or specifies "-c".

Initializing "polling" to "0" would fix the problem.

It appears that dat_evd_wait() was intended to be the default with polling
or dat_cno_wait as optional methods invoked via command line arguments.
However, with the current code, it appears that only polling is being
exercised.

-- jimmy

Jimmy Hill
jimmy.hill at us.ibm.com
sobebike at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20060105/7ff4344d/attachment.html>


More information about the general mailing list