Menu

Using GNU Portable Thread ?

2000-04-06
2000-04-06
  • Genty Jean-PAul

    Genty Jean-PAul - 2000-04-06

    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

     
    • David Sugar

      David Sugar - 2000-04-06

      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.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.