[ofa-general] [libibumad] is the libibumad a thread safe library?

Dotan Barak dotanb at dev.mellanox.co.il
Sun Mar 4 07:28:46 PST 2007


Sasha Khapyorsky wrote:
> On Sun, 2007-03-04 at 14:55 +0200, Dotan Barak wrote:
>   
>> Hi Hal.
>>
>> I reviewed the libibumad and i noticed a static array which is called 
>> "ports", but i didn't notice any mutex that protect it.
>> Can one use the libibumad in a multithreaded application?
>>     
>
> Basically libibumad is not thread-safe. The racing part is
> umad_open_port()/umad_close_port(), the rest should be fine I guess.
>
> Sasha
>   
Is this issue written in the release notes?
Is there is any plan to fix this behavior?


thanks
Dotan



More information about the general mailing list