|
tico 0.1
Mechanical Watch Terminal Timegrapher
|
Synchronization functions for myarr struct and file operations. More...
Functions | |
| void | waitClose (FILE *file) |
| @ . More... | |
| void | wait (void) |
| @ proceeding. More... | |
| int | syncwrite (int *input, size_t ArrayLength, const char *file) |
| @ separate thread. More... | |
| void | printTOD (FILE *out) |
| @ with synchronization. More... | |
Synchronization functions for myarr struct and file operations.
| void printTOD | ( | FILE * | out | ) |
@ with synchronization.
| out | Pointer to the file to write to. |
| int syncwrite | ( | int * | input, |
| size_t | ArrayLength, | ||
| const char * | file | ||
| ) |
@ separate thread.
| input | Pointer to the input array to write. |
| ArrayLength | Length of the input array. |
| file | Name of the file to write to. |
| void wait | ( | void | ) |
@ proceeding.
checks locks for ctr_mutex and waits on ctr_zero until count is zero, then releases lock.
| void waitClose | ( | FILE * | file | ) |
@ .
| file | Pointer to the file to wait on. |