2015-03-22 00:43:15 +00:00
|
|
|
#include "BruteUtils.h"
|
2015-03-13 14:27:21 +00:00
|
|
|
#include "STh.h"
|
|
|
|
#include "externData.h"
|
|
|
|
|
|
|
|
void BruteUtils::BConInc()
|
|
|
|
{
|
2015-04-04 12:43:22 +00:00
|
|
|
// ++BA;
|
|
|
|
//#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__)
|
|
|
|
//__asm
|
|
|
|
// {
|
|
|
|
// lock inc BrutingThrds;
|
|
|
|
// };
|
|
|
|
//#else
|
|
|
|
// asm("lock incl BrutingThrds");
|
|
|
|
//#endif
|
|
|
|
// stt->doEmitionUpdateArc(gTargets);
|
2015-03-13 14:27:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void BruteUtils::BConDec()
|
|
|
|
{
|
2015-04-04 12:43:22 +00:00
|
|
|
// if(BrutingThrds > 0)
|
|
|
|
// {
|
|
|
|
//#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__)
|
|
|
|
// __asm
|
|
|
|
// {
|
|
|
|
// lock dec BrutingThrds;
|
|
|
|
// };
|
|
|
|
//#else
|
|
|
|
// asm("lock decl BrutingThrds");
|
|
|
|
//#endif
|
|
|
|
// }
|
|
|
|
// stt->doEmitionUpdateArc(gTargets);
|
2015-03-13 14:27:21 +00:00
|
|
|
}
|