Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > comp.programming.threads > #1192

Re: A book for learning threads?

From Rui Maciel <rui.maciel@gmail.com>
Newsgroups comp.programming.threads
Subject Re: A book for learning threads?
Date 2012-10-29 12:52 +0000
Organization Aioe.org NNTP Server
Message-ID <k6lu74$h2b$1@speranza.aioe.org> (permalink)
References <508dcd4d$0$7581$a8266bb1@newsreader.readnews.com>

Show all headers | View raw


Robert Miles wrote:

> I'm updating a program using threads so that it can use checkpoints
> instead of often running for a month or more without the ability to
> restart anywhere except at the beginning.
> 
> It will later be recompiled for multiple platforms, but for now I am
> only using
> the Cygwin version of gcc under 64-bit Windows.  Without checkpoints, it
> will
> already compile for all the intended platforms, using other versions of
> gcc.
> 
> It uses the Posix threads method of getting threads (pthreads). However,
> I've
> never used threads before.  Also, I've never used Linux, and have done
> little
> under Unix.
> 
> I've already found that my K&R 2 book does not mention pthreads in the
> index.

Yes.  As far as I know, the last edition of K&R dates back to 1988, and the 
POSIX threads standard was only published in 1995.


> What book would you recommend for learning enough about threads and
> pthreads that I can do a reasonable job with this update? 

I doubt it is the best book written on the subject, but I found O'Reilly's 
pthreads programming book a good read to get up to speed on pthreads.


Hope this helps,
Rui Maciel

Back to comp.programming.threads | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

A book for learning threads? Robert Miles <milesrf@Usenet-News.net> - 2012-10-28 19:26 -0500
  Re: A book for learning threads? Lucas Levrel <lucas.levrel@u-pec.fr> - 2012-10-29 09:45 +0100
    Re: A book for learning threads? Mark <i@dontgetlotsofspamanymore.invalid> - 2012-10-29 09:45 +0000
    Re: A book for learning threads? Robert Miles <robertmilesxyz@gmail.com> - 2012-10-29 07:42 -0700
      Re: A book for learning threads? Lucas Levrel <lucas.levrel@u-pec.fr> - 2012-10-29 17:35 +0100
        Re: A book for learning threads? Robert Miles <robertmilesxyz@gmail.com> - 2012-10-29 23:49 -0700
          Re: A book for learning threads? Lucas Levrel <lucas.levrel@u-pec.fr> - 2012-10-30 10:43 +0100
            Re: A book for learning threads? Robert Miles <robertmilesxyz@gmail.com> - 2012-10-30 07:27 -0700
          Re: Use of checkpoints for parallel data processing? Markus Elfring <Markus.Elfring@web.de> - 2012-11-01 13:31 +0100
            Re: Use of checkpoints for parallel data processing? Robert Miles <robertmilesxyz@gmail.com> - 2012-11-01 18:39 -0700
              Re: Use of checkpoints for parallel data processing? Markus Elfring <Markus.Elfring@web.de> - 2012-11-05 19:58 +0100
              Re: Use of checkpoints for parallel data processing? Markus Elfring <Markus.Elfring@web.de> - 2012-11-05 20:00 +0100
          Re: A book for learning threads? Rui Maciel <rui.maciel@gmail.com> - 2012-11-01 17:55 +0000
          Re: A book for learning threads? Ian Collins <ian-news@hotmail.com> - 2012-11-03 14:52 +1300
            Re: A book for learning threads? Robert Miles <robertmilesxyz@gmail.com> - 2012-11-02 23:46 -0700
              Re: A book for learning threads? Ian Collins <ian-news@hotmail.com> - 2012-11-07 10:37 +1300
  Re: A book for learning threads? Rui Maciel <rui.maciel@gmail.com> - 2012-10-29 12:52 +0000
    Re: A book for learning threads? Robert Miles <robertmilesxyz@gmail.com> - 2012-10-29 07:45 -0700

csiph-web