[ofa-general] [libibumad] is the libibumad a thread safe library?
Sasha Khapyorsky
sashak at voltaire.com
Sun Mar 4 08:13:14 PST 2007
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
More information about the general
mailing list