Closed GoogleCodeExporter closed 8 years ago
Are you using the latest version (0.4.0 Beta) of the OpenHardwareMonitorLib?
Your report says the exception is thrown here:
public static bool WaitIsaBusMutex(int millisecondsTimeout) {
if (isaBusMutex == null)
return true;
try {
return isaBusMutex.WaitOne(millisecondsTimeout, false);
} catch (AbandonedMutexException) { return false; }
catch (InvalidOperationException) { return false; }
}
As far as I can see, the only way to get a NullReferenceException would be when
a second thread changes the isaBusMutex to null just before the
isaBusMutex.WaitOne call is made.
Are you accessing the OpenHardwareMonitorLib from multiple threads (this is no
supported atm)?
Original comment by moel.mich
on 24 May 2012 at 9:23
No not the latest but i will update it now :)
Yeah youre suggestion is right. Multiple Threads accessing this function the
same time.
I seem thank you for your Feedback!!
Original comment by i...@server-eye.de
on 24 May 2012 at 10:57
Original comment by moel.mich
on 1 Jul 2012 at 3:14
Original issue reported on code.google.com by
i...@server-eye.de
on 23 May 2012 at 8:03