Priprava Ncurses a vlakna pro UART
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#include <stdint.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
#include <pthread.h>
|
||||
|
||||
#ifndef __USERS_H__
|
||||
#define __USERS_H__
|
||||
@@ -14,6 +16,8 @@ typedef struct person
|
||||
|
||||
time_t last_timestamp;
|
||||
uint32_t total;
|
||||
|
||||
pthread_mutex_t lock;
|
||||
} person_t;
|
||||
|
||||
typedef struct node
|
||||
|
||||
Reference in New Issue
Block a user