addes threads

This commit is contained in:
2019-05-07 22:35:58 +02:00
parent af93431a4b
commit fccf397c64
3 changed files with 101 additions and 18 deletions

View File

@ -6,6 +6,7 @@
typedef struct node NODE_t;
typedef struct threadData THREAD_DATA_t;
struct node {
int id;
@ -15,6 +16,12 @@ struct node {
};
struct threadData {
NODE_t* node;
int cost;
};