* 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.
This commit is contained in:
@ -399,12 +399,13 @@ details. */
|
||||
233: Add TIOCGPGRP, TIOCSPGRP. Export llround, llroundf.
|
||||
234: Export program_invocation_name, program_invocation_short_name.
|
||||
235: Export madvise.
|
||||
236: Export pthread_yield.
|
||||
*/
|
||||
|
||||
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
|
||||
|
||||
#define CYGWIN_VERSION_API_MAJOR 0
|
||||
#define CYGWIN_VERSION_API_MINOR 235
|
||||
#define CYGWIN_VERSION_API_MINOR 236
|
||||
|
||||
/* There is also a compatibity version number associated with the
|
||||
shared memory regions. It is incremented when incompatible
|
||||
|
@ -194,6 +194,7 @@ void pthread_testcancel (void);
|
||||
|
||||
int pthread_suspend (pthread_t);
|
||||
int pthread_continue (pthread_t);
|
||||
int pthread_yield (void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Reference in New Issue
Block a user