Skip to content

Instantly share code, notes, and snippets.

@khannurien
khannurien / fflthread.c
Last active May 6, 2019
Usage: find /path/to/flac/folder -name "*.flac" | xargs -d '\n' /path/to/fflthread
View fflthread.c
#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
/**
* Structure de données partagée pour limiter le nombre de threads.
You can’t perform that action at this time.