***SPAM*** Re: [ofa-general] [PATCH] libibmad: remove functions which use pthread
Ira Weiny
weiny2 at llnl.gov
Tue Feb 17 17:23:02 PST 2009
On Wed, 18 Feb 2009 02:28:39 +0200
Sasha Khapyorsky <sashak at voltaire.com> wrote:
> On 14:28 Tue 17 Feb , Ira Weiny wrote:
> > >
> > > > Are those calls which use it not thread safe?
> > >
> > > They look OK but I'm not 100% sure yet.
> >
> > Yea, they look thread safe but I am not sure either. :-(
>
> Could you, Guys, be more explicit? Really... :)
Neither interface is thread safe without the user implementing some
sort of locking around the calls.
>
> > I would be in favor of making all the utils use mad_rpc_open_port but it is up
> > to Shasha if we go down this path.
>
> The idea looks fine to me, let's review the patch.
Working on a patch series now... This is mainly to clean up the
interface. Thread safety is a 2nd consideration...
Ira
More information about the general
mailing list