netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@osdl.org>
To: dast@nlanr.net
Cc: iperf-users@dast.nlanr.net, netdev@oss.sgi.com
Subject: iperf 1.7.0 thread bug.
Date: Tue, 05 Oct 2004 11:41:18 -0700	[thread overview]
Message-ID: <1097001678.22947.14.camel@localhost.localdomain> (raw)

[-- Attachment #1: Type: text/plain, Size: 251 bytes --]

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.


[-- Attachment #2: Type: text/x-patch, Size: 268 bytes --]

--- lib/Thread.hpp.orig	2004-10-05 11:33:14.638098735 -0700
+++ lib/Thread.hpp	2004-10-05 11:34:30.160583668 -0700
@@ -56,7 +56,9 @@
 #ifndef THREAD_H
 #define THREAD_H
 
-
+#ifdef HAVE_CONFIG_H
+    #include "config.h"
+#endif
 
 #if   defined( HAVE_POSIX_THREAD )
 

                 reply	other threads:[~2004-10-05 18:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1097001678.22947.14.camel@localhost.localdomain \
    --to=shemminger@osdl.org \
    --cc=dast@nlanr.net \
    --cc=iperf-users@dast.nlanr.net \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).