I tried to compile Common C++ on a several UNIX and met some problems, specially with threads.
I'm really new with Common C++ and pthreads so maybe it's a bad idea, but what do you think about using GNU Portable Thread ?
At my office I have a few Unix:
- AIX 4.2.5
- Solaris 2.6.
- Linux Alpha. (GNU P. Thread tests fail on it)
- HP-UX 10.20
- Digital 4.0D
- SCO Openserver 5.05 ( under construction )
I can test if it can help.
Thanks
Jean-Paul Genty
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The GNU pth package offers the designer the ability to "simulate" the behavior and design benefits of a threaded application, but does not support true parallel execution and so offers no direct benefit on SMP hardware.
With that consideration in mind, I actually have thought of supporting a "pth" source tree in Common C++, especially since, unlike pthread, there is only one reference implimentation to deal with and none of
the underlying OS issues and system support that pthread must deal with. However, I do recall there is a "pthread" emulation library that sits on top of GNU pth itself which offers a pthread interface compatible library, and I am curious if anyone has been able to build CC++ against this library.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I tried to compile Common C++ on a several UNIX and met some problems, specially with threads.
I'm really new with Common C++ and pthreads so maybe it's a bad idea, but what do you think about using GNU Portable Thread ?
At my office I have a few Unix:
- AIX 4.2.5
- Solaris 2.6.
- Linux Alpha. (GNU P. Thread tests fail on it)
- HP-UX 10.20
- Digital 4.0D
- SCO Openserver 5.05 ( under construction )
I can test if it can help.
Thanks
Jean-Paul Genty
The GNU pth package offers the designer the ability to "simulate" the behavior and design benefits of a threaded application, but does not support true parallel execution and so offers no direct benefit on SMP hardware.
With that consideration in mind, I actually have thought of supporting a "pth" source tree in Common C++, especially since, unlike pthread, there is only one reference implimentation to deal with and none of
the underlying OS issues and system support that pthread must deal with. However, I do recall there is a "pthread" emulation library that sits on top of GNU pth itself which offers a pthread interface compatible library, and I am curious if anyone has been able to build CC++ against this library.