mirror of
https://github.com/Harshit-Dhanwalkar/AsciiCam.git
synced 2026-07-03 11:20:59 +02:00
Implementing my own C libs
This commit is contained in:
parent
c0ddc27b5d
commit
5f98c5b633
24 changed files with 1245 additions and 381 deletions
|
|
@ -1,11 +1,15 @@
|
|||
/*
|
||||
Still uses pthread functions, TODO: replace them with raw futex syscalls and clone()
|
||||
*/
|
||||
|
||||
|
||||
#include "ascii.h"
|
||||
#include "capture.h"
|
||||
#include "thread_sharing.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/mman.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "nolibc.h"
|
||||
|
||||
// Producer thread for capturing frames
|
||||
void *capture_thread(void *arg) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue