summaryrefslogtreecommitdiff
path: root/src/bridges/pthread/thread_bridge.c
blob: e014a3a000e63cae7819064ceb8ea87e20fabf0c (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifdef USE_THREAD

#include <bridges/pthread/thread_bridge.h>

pthread_t run_job_in_thread(ff_thread_job *job) {
    pthread_t thread;
    pthread_create(&thread, NULL, ff_thread_wrapper, job);
    return thread;
}

#endif