summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/include/pthread.h
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2011-02-10 10:51:14 +0000
committerYaakov Selkowitz <yselkowi@redhat.com>2011-02-10 10:51:14 +0000
commit3696acf49766fe9a2483939df47b21a7d3f8f96c (patch)
treeb59d45f9a08e9c74681b5f719d92df3dac7e6c97 /winsup/cygwin/include/pthread.h
parentca1953eeee9e1823c6cf9bfb0d7595112fb110ac (diff)
downloadcygnal-3696acf49766fe9a2483939df47b21a7d3f8f96c.tar.gz
cygnal-3696acf49766fe9a2483939df47b21a7d3f8f96c.tar.bz2
cygnal-3696acf49766fe9a2483939df47b21a7d3f8f96c.zip
* cygwin.din (pthread_yield): Export as alias to sched_yield.
* include/pthread.h (pthread_yield): Declare. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. * posix.sgml (std-deprec): Add pthread_yield.
Diffstat (limited to 'winsup/cygwin/include/pthread.h')
-rw-r--r--winsup/cygwin/include/pthread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/include/pthread.h b/winsup/cygwin/include/pthread.h
index 73759ddc0..1e0cbf48c 100644
--- a/winsup/cygwin/include/pthread.h
+++ b/winsup/cygwin/include/pthread.h
@@ -194,6 +194,7 @@ void pthread_testcancel (void);
int pthread_suspend (pthread_t);
int pthread_continue (pthread_t);
+int pthread_yield (void);
#ifdef __cplusplus
}