Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

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: