Added experimental makepkg-update-checksums.sh
[mirrors/Programs.git] / c / pthread.c
... / ...
CommitLineData
1#include <stdio.h>
2#include <pthread.h>
3
4void *go(void *args) {
5 while(1) {
6 puts("lol!");
7 }
8}
9
10int main() {
11 pthread_t t;
12 //pthread_create(&t, NULL, go, NULL);
13 pthread_create(&t, NULL, puts, "hello!");
14 sleep(1);
15}
This page took 0.423781 seconds and 4 git commands to generate.