mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-04-20 03:01:31 -04:00
42 lines
632 B
C++
42 lines
632 B
C++
// (C) 2017 University of Bristol. See License.txt
|
|
|
|
#ifndef _Online_Thread
|
|
#define _Online_Thread
|
|
|
|
#include "Networking/Player.h"
|
|
#include "Math/gf2n.h"
|
|
#include "Math/gfp.h"
|
|
#include "Math/Integer.h"
|
|
#include "Processor/Data_Files.h"
|
|
|
|
#include <vector>
|
|
using namespace std;
|
|
|
|
class Machine;
|
|
|
|
class thread_info
|
|
{
|
|
public:
|
|
|
|
int thread_num;
|
|
int covert;
|
|
Names* Nms;
|
|
gf2n *alpha2i;
|
|
gfp *alphapi;
|
|
int prognum;
|
|
bool finished;
|
|
bool ready;
|
|
|
|
// rownums for triples, bits, squares, and inverses etc
|
|
DataPositions pos;
|
|
// Integer arg (optional)
|
|
int arg;
|
|
|
|
Machine* machine;
|
|
};
|
|
|
|
void* Main_Func(void *ptr);
|
|
|
|
#endif
|
|
|