On Mon, 14 Jun 2004 07:07:25 -0700 (PDT) Ying wrote:
YH> I read the code for multi-threaded support and am not
YH> sure if it is a bug or not. The original source code
YH> is (in mt_support.c):
    [snip]
YH>  so when groupID == 0 || resourceID == 0, there will
YH> be no lock returned. Actually, we may want a lock when
YH> groupID ==0 && resourceID == 0. Could someone help me
YH> with this?

You are quite right. This appears to have been broken since the feature was
introduced in 4.1.1! Try changing both those tests to '< 0' instead of '< 1'
and see if that works any better for you.

-- 
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to