This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
re: Multithreading problems [on AIX with gcc-2.9-aix51-020209]
- From: Dan Kegel <dank at kegel dot com>
- To: GCC Mailing List <gcc at gcc dot gnu dot org>, "Ciorecan Marius" <Ciorecan dot Marius at ssi-schaefer dot ro>
- Date: Mon, 06 Dec 2004 07:39:21 -0800
- Subject: re: Multithreading problems [on AIX with gcc-2.9-aix51-020209]
"Ciorecan Marius" <Ciorecan.Marius@ssi-schaefer.ro> wrote:
I have developed a multithreaded application that starts up to 100 - 200 threads.
Each thread communicates on TCP/IP with some external process.
The application is developed on C++, and it's running on an AIX machine,
and compiled with gcc version 2.9-aix51-020209.
That sounds like a very old version of gcc.
Try using a current version, e.g. gcc-3.3.x or gcc-3.4.x.
http://www.bullfreeware.com/ seems to have gcc-3.3.2 for
free download, so it's at least possible to build it for AIX.
You might even be able to build it yourself.
Your question is very nearly off topic; try posting on gcc-help instead.
- Dan
p.s. Might I suggest you consider not
using one thread per connection?
See http://kegel.com/c10k.html
--
Trying to get a job as a c++ developer? See http://kegel.com/academy/getting-hired.html