Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] openib btl thread safety warning
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2010-04-27 16:50:49

The following code was recently modified in btl_openib_endpoint.h (trunk):

        do {
          ftr->seq = ep->eager_rdma_remote.seq;
        } while (!OPAL_ATOMIC_CMPSET_32(&ep->eager_rdma_remote.seq, ftr->seq, ftr->seq+1));

This line produces the following compiler warning:

./btl_openib_endpoint.h:505: warning: pointer targets in passing argument 1 of ‘opal_atomic_cmpset_32’ differ in signedness

Line 505 is the ATOMIC_CMPSET line. Chris -- you last touched this line. Can you fix?


Jeff Squyres
For corporate legal information go to: