1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 00:28:11 +00:00
hashcat/include/affinity.h

29 lines
471 B
C
Raw Normal View History

/**
* Author......: See docs/credits.txt
* License.....: MIT
*/
#ifndef HC_AFFINITY_H
#define HC_AFFINITY_H
#include <stdlib.h>
#include <stdarg.h>
#if defined (_POSIX)
#include <pthread.h>
#endif // _POSIX
#if defined (__APPLE__)
2016-09-07 09:24:21 +00:00
#include <mach-o/dyld.h>
#include <mach/mach.h>
#include <mach/thread_policy.h>
2016-09-07 09:24:21 +00:00
#endif // __APPLE__
#if defined (_WIN)
#include <windows.h>
#endif // _WIN
int set_cpu_affinity (hashcat_ctx_t *hashcat_ctx);
#endif // HC_AFFINITY_H