changed obsolete reference to "oldTID" to "thread->mTID"
This commit is contained in:
parent
8a74fac2fd
commit
c230011976
@ -202,7 +202,7 @@ void thread_stop( struct thread_Settings* thread ) {
|
||||
#if defined( HAVE_POSIX_THREAD )
|
||||
// Cray J90 doesn't have pthread_cancel; Iperf works okay without
|
||||
#ifdef HAVE_PTHREAD_CANCEL
|
||||
pthread_cancel( oldTID );
|
||||
pthread_cancel( thread->mTID );
|
||||
#endif
|
||||
#else // Win32
|
||||
// this is a somewhat dangerous function; it's not
|
||||
|
Loading…
Reference in New Issue
Block a user