Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABob6irAVDfKcR-C6cdZN47aBoC3Dsa7qi3CAUAeN+wqJJhoEQ@mail.gmail.com>
Date: Sun, 28 Jul 2013 03:12:12 +0200
From: Lukas Odzioba <lukas.odzioba@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: cryptocurrency mining fallback in JtR

2013/7/26 Lukas Odzioba <lukas.odzioba@...il.com>:
> I would be happy to see miner_start() function splited into two
> separate static functions now it mixes logic of two separate features.

To be clear:
void miner_start(int miner)
{
   if(cgminerinstance == 1)
      functionA();  //pause miner
  else
     functionB(); //run miner at exit
}

This also shows that cgminerinstance is not the perfect name.

Lukas

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.