[ofw] Re: [PATCH 1/2] contain pthreads defs with ifdef HAVE_LIBPTHREAD

Sasha Khapyorsky sashak at voltaire.com
Fri Nov 6 08:56:23 PST 2009


On 09:07 Thu 05 Nov     , Smith, Stan wrote:
> 
> The use of ifdef HAVE_LIBPTHREAD was based on existing HAVE_LIBPTHREAD usage in opensm/include/opensm/osm_stats.h @ line 97.

Right, but it was used due to differences in the functionality between
cl_event_t and pthread stuff. I would be happy to remove those #ifdef's
upon such differences elimination.

> If the community prefers the use of macros then these two patches can be skipped.

I think that macros are nicer.

Sasha



More information about the ofw mailing list