summaryrefslogtreecommitdiff
path: root/threading_pthread.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-07-26 10:04:43 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-07-26 10:04:43 +0200
commitfe3f99c92a8437a353ba12075d6c3273d04c4e3f (patch)
tree34d97babbe5696f21779866fafad217b60c2bead /threading_pthread.c
parent4deca01c3a7edaf66374bd35e6fb50d4d9564b17 (diff)
merged non-android-specific changes from android branch
Diffstat (limited to 'threading_pthread.c')
-rw-r--r--threading_pthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/threading_pthread.c b/threading_pthread.c
index 00712266..66db5844 100644
--- a/threading_pthread.c
+++ b/threading_pthread.c
@@ -40,7 +40,7 @@ thread_start (void (*fn)(void *ctx), void *ctx) {
s = pthread_attr_destroy (&attr);
if (s != 0) {
fprintf (stderr, "pthread_attr_destroy failed: %s\n", strerror (s));
- pthread_cancel (tid);
+// pthread_cancel (tid); // missing on android
return 0;
}
return tid;