From bc21c33a230a8ec8b4a03a6314b48e144caceccc Mon Sep 17 00:00:00 2001 From: Christoph Hellwig <hch@lst.de> Date: Thu, 17 Jan 2013 08:59:12 +0100 Subject: [PATCH] add a pthread_setcancelstate stub --- libc/pthread.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libc/pthread.cc b/libc/pthread.cc index aaf4a4fbf..537ba0af3 100644 --- a/libc/pthread.cc +++ b/libc/pthread.cc @@ -314,3 +314,9 @@ int pthread_attr_getstack(const pthread_attr_t * __restrict attr, *stacksize = a->stack_size; return 0; } + +int pthread_setcancelstate(int state, int *oldstate) +{ + debug(fmt("pthread_setcancelstate stubbed out")); + return 0; +} -- GitLab