[ofa-general] Another XRC binary compatable issue for different pthread version.

Tang, Changqing changquing.tang at hp.com
Tue Feb 19 08:02:36 PST 2008


> >
> I did this for ibv_srq, ibv_qp, and ibv_cq.
>
> ibv_srq and ibv_qp -- had to.
>
> ibv_cq -- just in case.
>
> ibv_context -- does not use cond.  If mutex changes, we're
> cooked anyway.

I don't have many different OS, but on one of our machine:

Linux mpia32-5 2.6.16.21-0.8-smp #1 SMP Mon Jul 3 18:25:39 UTC 2006 i686
i686 i386 GNU/Linux

sizeof(mutex)=24, sizeof(cond)=48

For other machines (64bit):

sizeof(mutex)=40, sizeof(cond)=48

So mutex size is really changed.

--CQ



>
> - Jack
>



More information about the general mailing list