iperf 1.7.0 thread bug.


>Subject: iperf 1.7.0 thread bug.
>From: Stephen Hemminger <shemminger --at-- osdl.org>
>To: dast --at-- nlanr.net
>Cc: iperf-users --at-- dast.nlanr.net, netdev --at-- oss.sgi.com
>Content-Type: multipart/mixed; boundary="=-zFU1N+103e8NII/wdZk7"
>Organization: Open Source Development Lab
>Date: Tue, 05 Oct 2004 11:41:18 -0700
>
>The iperf 1.7.0 hangs on AMD64, after several false starts the problem
>turned out to be that the Thread wrapper was incorrectly assumuing that
>pthread wasn't present (in Speaker.cpp), so some data sizes get messed
>up. Bedlam ensuses.
>
>This fixes it.
>
>
>--=-zFU1N+103e8NII/wdZk7
>Content-Description: 
>Content-Disposition: attachment; filename=iperf-1.7.0.patch
>Content-Type: text/x-patch; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>
>--- lib/Thread.hpp.orig	2004-10-05 11:33:14.638098735 -0700
>+++ lib/Thread.hpp	2004-10-05 11:34:30.160583668 -0700
> --at--  --at--  -56,7 +56,9  --at--  --at-- 
> #ifndef THREAD_H
> #define THREAD_H
> 
>-
>+#ifdef HAVE_CONFIG_H
>+    #include "config.h"
>+#endif
> 
> #if   defined( HAVE_POSIX_THREAD )
> 
>
>--=-zFU1N+103e8NII/wdZk7--
>
>
--
Mitch Kutzko | mitch --at-- dast.nlanr.net | mitch --at-- ncsa.uiuc.edu | 217-333-1199
Project: http://dast.nlanr.net/  |  Personal: http://hobbes.ncsa.uiuc.edu/



Other Mailing lists | Author Index | Date Index | Subject Index | Thread Index