Topic
2 replies Latest Post - ‏2012-04-28T14:45:08Z by SystemAdmin
SystemAdmin
SystemAdmin
9 Posts
ACCEPTED ANSWER

Pinned topic OS/400 Pthreads on Ubuntu

‏2012-04-27T14:12:24Z |
Dear All,

Am new here, and i wanted to know if there is a way to get the OS/400 Pthreads
implementation to use on Ubuntu 11.10. What SDk do i need to install to get the OS/400 Pthreads.

The native pthreads on the Ubuntu pltaform does not support severral of the features in the OS/400 Pthreads
library which i want to use.

Thanks for your help.
Updated on 2012-04-28T14:45:08Z at 2012-04-28T14:45:08Z by SystemAdmin
  • ryanarn
    ryanarn
    2 Posts
    ACCEPTED ANSWER

    Re: OS/400 Pthreads on Ubuntu

    ‏2012-04-27T14:52:12Z  in response to SystemAdmin
    Hello dok,

    As far as I know, the GNU/Linux Pthread implementation that is part of Glibc is largely POSIX compliant. I'm not sure the same can be said for the OS/400 pthread implementation.

    I found the following webpage highlighting the differences:

    http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=%2Fapis%2Fdiffs.htm

    I'm not sure what kind of effort would be necessary to port applications using OS/400 pthreads to GNU/Linux pthreads.

    Another consideration, the AT might work on Ubuntu, but we haven't added it as a supported target.

    Ryan S. Arnold
    IBM Linux Technology Center
    • SystemAdmin
      SystemAdmin
      9 Posts
      ACCEPTED ANSWER

      Re: OS/400 Pthreads on Ubuntu

      ‏2012-04-28T14:45:08Z  in response to ryanarn
      Thanks Ryan for the information.

      I had actually read about the differences and was interested in using the upgrade lock capability of the OS/400 pthread implementation which the GNU/Linux Pthread implementation does not have.

      Am not aware of the AT which you did mention. I will be grateful to get pointers so i can check it up.

      Thanks so much