[ofa-general] [PATCH] opensm: provide methods for getting the OpenSM and Log

Timothy A. Meier meier3 at llnl.gov
Tue Mar 4 17:21:36 PST 2008


Hi Sasha,

I wrote this patch so I could avoid passing around a pointer to the opensm, just to
get access to the log.  Also, it provides a method to get a pointer to the opensm
as well, because there are several instances where this is needed for a trivial reason,
and many functions include it as one of their arguments.  Since the opensm is a
singleton, it could just be accessed directly by the function when its needed.

Ultimately, this can lead to simplification of header files.

-- 
Timothy A. Meier
Computer Scientist
ICCD/High Performance Computing
925.422.3341
meier3 at llnl.gov
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-opensm-provide-methods-for-getting-the-OpenSM-and.patch
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20080304/d842962f/attachment.ksh>


More information about the general mailing list