Multithreading problems [on AIX with gcc-2.9-aix51-020209]

Dan Kegel dank@kegel.com
Mon Dec 6 16:40:00 GMT 2004


"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



More information about the Gcc mailing list