tico 0.1
Mechanical Watch Terminal Timegrapher
Data Structures | Functions
mysync.c File Reference
#include <errno.h>
#include <limits.h>
#include <pthread.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include <unistd.h>
#include "myarr.h"
#include "mydefs.h"
#include "mysync.h"
Include dependency graph for mysync.c:

Data Structures

struct  file_state
 
struct  append_task
 
struct  write_task
 

Functions

void waitClose (FILE *file)
 @ . More...
 
void wait (void)
 @ proceeding. More...
 
void * threadAppendMyarr (void *inStruct)
 @ file in a separate thread. More...
 
void syncAppendMyarr (struct myarr *input, FILE *file)
 @ in a separate thread. More...
 
int syncwrite (int *input, size_t ArrayLength, const char *file)
 @ separate thread. More...
 
void printTOD (FILE *out)
 @ with synchronization. More...