[ofa-general] [libibumad] is the libibumad a thread safe library?
Hal Rosenstock
halr at voltaire.com
Sun Mar 4 07:49:15 PST 2007
On Sun, 2007-03-04 at 10:28, Dotan Barak wrote:
> 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?
libibumad does not currently have release notes. This can easily be
added for the next release. I'm not sure whether the OFED release notes
mentions this or not.
> Is there is any plan to fix this behavior?
Not currently.
-- Hal
>
> thanks
> Dotan
More information about the general
mailing list