Created
May 4, 2018 14:27
-
-
Save raku-cat/7ba92c9af69b4e4f950cf9a42f007aec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ strings /data/data/com.termux/files/usr/include/bthread.h | |
#include <pthread.h> | |
# define PTHREAD_CANCEL_ENABLE 0x00000010 | |
# define PTHREAD_CANCEL_DISABLE 0x00000000 | |
# define PTHREAD_CANCEL_ASYNCHRONOUS 0x00000020 | |
# define PTHREAD_CANCEL_DEFERRED 0x00000000 | |
#define PTHREAD_CANCELED ((void *) -1) | |
int pthread_setcancelstate (int , int *); | |
int pthread_setcanceltype (int , int *); | |
void pthread_testcancel (void); | |
int pthread_cancel (pthread_t t); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment