usched: Allow process to change self cpu affinity
[dragonfly.git] / lib / libpthread / dummy.c
blob54c7076b1cb46c82c20763339cb24a42eff6d4bc
1 #include <stdio.h>
2 #include <stdlib.h>
4 static void __attribute__((__used__))
5 dummy_pthread_create(void)
7 fprintf(stderr, "libpthread.so: dummy weak symbol executed\n");
8 abort();
11 __weak_reference(dummy_pthread_create, pthread_create);
13 static void __attribute__((__used__))
14 dummy_pthread_cancel(void)
16 fprintf(stderr, "libpthread.so: dummy weak symbol executed\n");
17 abort();
20 __weak_reference(dummy_pthread_cancel, pthread_cancel);