[PATCH] Define internal function mythreadname()

2018-01-22 Thread Mark Geisert
This new function returns the name of the calling thread; works for both cygthreads and pthreads. All calls to cygthread::name(/*void*/) replaced by calls to mythreadname(/*void*/). --- winsup/cygwin/exceptions.cc | 4 ++-- winsup/cygwin/fhandler_tty.cc | 2 +- winsup/cygwin/strace.cc

[PATCH] Define internal function mythreadname() This new function returns the name of the calling thread; works for both cygthreads and pthreads. All calls to cygthread::name(/*void*/) replaced by cal

2018-01-22 Thread Mark Geisert
--- winsup/cygwin/exceptions.cc | 4 ++-- winsup/cygwin/fhandler_tty.cc | 2 +- winsup/cygwin/strace.cc | 2 +- winsup/cygwin/thread.cc | 17 + winsup/cygwin/thread.h| 3 +++ 5 files changed, 24 insertions(+), 4 deletions(-) diff --git a/winsup/cygwin/exc

Re: [PATCH] cygwin: Declare pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock

2018-01-22 Thread Corinna Vinschen
On Jan 22 09:50, Corinna Vinschen wrote: > On Jan 21 23:51, Yaakov Selkowitz wrote: > > These were added in commit 8128f5482f2b1889e2336488e9d45a33c9972d11 but > > without their public declarations. > > > > Signed-off-by: Yaakov Selkowitz > > --- > > winsup/cygwin/include/pthread.h | 4 > >

Re: [PATCH] cygwin: Declare pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock

2018-01-22 Thread Corinna Vinschen
On Jan 21 23:51, Yaakov Selkowitz wrote: > These were added in commit 8128f5482f2b1889e2336488e9d45a33c9972d11 but > without their public declarations. > > Signed-off-by: Yaakov Selkowitz > --- > winsup/cygwin/include/pthread.h | 4 > 1 file changed, 4 insertions(+) > > diff --git a/winsup