[ofw] Re: [ofa-general] PATCH[5/6] Windows port of libibmad - rpc.c, sa.c, serv.c, smp.c, vendor.c

Sasha Khapyorsky sashak at voltaire.com
Sun Dec 21 12:38:06 PST 2008


On 16:31 Thu 18 Dec     , Sean Hefty wrote:
> >-static pthread_mutex_t rpclock = PTHREAD_MUTEX_INITIALIZER;
> >+static cl_plock_t rpclock;
> 
> There's a complib mutex implementation available.  plock is a reader/writer
> lock.

Actually I'm not sure that we need such synchronization in libibmad. I
think it was here from a days when libibumad was not thread safe. I will
look at this closer, maybe we just can remove pthread*() from libibmad.

Sasha



More information about the ofw mailing list