mirror of
https://github.com/PurpleI2P/i2pd-tools.git
synced 2025-05-01 13:12:30 +02:00
Windows
This commit is contained in:
parent
3c9c58c4da
commit
6876a8645d
2 changed files with 22 additions and 7 deletions
|
@ -53,10 +53,10 @@ static inline void mutate_keys_cpu(
|
|||
|
||||
static void thread_find(const char * prefix,int id_thread){
|
||||
|
||||
|
||||
#ifndef _WIN32
|
||||
sched_setaffinity(0, sizeof(cpu), cpu);
|
||||
cpu++;
|
||||
|
||||
#endif
|
||||
std::cout << "Thread " << id_thread << " binded" << std::endl;
|
||||
|
||||
while(NotThat(keys.GetPublic()->GetIdentHash().ToBase32().c_str(),prefix) and !finded)
|
||||
|
@ -171,3 +171,4 @@ TODO:
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue