threads

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sarath

    #1

    threads

    Hi,
    I want to know whether ther is any probability of implementing threads
    using C language in Solaris environment

    Thankx
    Sarath

  • Thomas Matthews

    #2
    Re: threads

    Sarath wrote:[color=blue]
    > Hi,
    > I want to know whether ther is any probability of implementing threads
    > using C language in Solaris environment
    >
    > Thankx
    > Sarath
    >[/color]

    You will have to use extensions to the C language, as the
    _standard_ C language does not have support for threads.

    Search the Solaris documentation for "pthreads".

    --
    Thomas Matthews

    C++ newsgroup welcome message:

    C++ Faq: http://www.parashift.com/c++-faq-lite
    C Faq: http://www.eskimo.com/~scs/c-faq/top.html
    alt.comp.lang.l earn.c-c++ faq:

    Other sites:
    http://www.josuttis.com -- C++ STL Library book
    http://www.sgi.com/tech/stl -- Standard Template Library

    Comment

    • James McIninch

      #3
      Re: threads

      <posted & mailed>

      The notion of threads doesn't exist in standard C.

      Solaris has both a native threading implementation and a POSIX threads
      implementation with a C library.


      Sarath wrote:
      [color=blue]
      > Hi,
      > I want to know whether ther is any probability of implementing threads
      > using C language in Solaris environment
      >
      > Thankx
      > Sarath[/color]

      --
      Remove '.nospam' from e-mail address to reply by e-mail

      Comment

      Working...