Unix Programming - Recommend Book on POSIX Threads?

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > June 2004 > Recommend Book on POSIX Threads?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Recommend Book on POSIX Threads?
tweak

2004-06-17, 5:55 pm

Unix Network programming touches on the topic of POSIX threads,
but it doesn't go in depth. Can you recommend a good book
on the subject? I saw at few at bookpool.com, and I wasn't
sure which one is worth the money to pick up.

Thanks,

Brian
Barry Margolin

2004-06-17, 5:55 pm

In article <WG5Ac.75308$My6.41097@fed1read05>,
tweak <xbwaichunasx@cox.net> wrote:

> Unix Network programming touches on the topic of POSIX threads,
> but it doesn't go in depth. Can you recommend a good book
> on the subject? I saw at few at bookpool.com, and I wasn't
> sure which one is worth the money to pick up.


Advanced Unix programming by Marc Rochkind. A new revision was just
published this spring.

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
Rich Teer

2004-06-17, 5:55 pm

On Wed, 16 Jun 2004, tweak wrote:

> Unix Network programming touches on the topic of POSIX threads,
> but it doesn't go in depth. Can you recommend a good book
> on the subject? I saw at few at bookpool.com, and I wasn't
> sure which one is worth the money to pick up.


Programming with POSIX Threads by Dave Butenhof gets my recommendation.

--
Rich Teer, SCNA, SCSA

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL: http://www.rite-online.net
Mike Chirico

2004-06-17, 5:55 pm


"tweak" <xbwaichunasx@cox.net> wrote in message
news:WG5Ac.75308$My6.41097@fed1read05...
> Unix Network programming touches on the topic of POSIX threads,
> but it doesn't go in depth. Can you recommend a good book
> on the subject? I saw at few at bookpool.com, and I wasn't
> sure which one is worth the money to pick up.
>
> Thanks,
>
> Brian


Which "Unix Network Programming" are you looking at?

There is "Unix Network programming Interprocess Communications", Vol 2, 2n
edu, by Richard Stevens which covers a lot.

Regards,

Mike Chirico


Paulo PEREIRA

2004-06-17, 5:55 pm

On 2004-06-17, Mike Chirico <mchirico@comcast.net> wrote:
>
> "tweak" <xbwaichunasx@cox.net> wrote in message
> news:WG5Ac.75308$My6.41097@fed1read05...
>
> Which "Unix Network Programming" are you looking at?
>
> There is "Unix Network programming Interprocess Communications", Vol 2, 2n
> edu, by Richard Stevens which covers a lot.
>
> Regards,
>
> Mike Chirico
>
>


Yep, one of the best books I've read on UNIX IPC.
But Butenhof's book is a more complete description of the Pthread API
and the different threading models you can use with it. Also a very good book.

my $0.02 contribution I guess.

Cheers,
Paulo

--
"Computers are useless. They can only give you answers"
- Pablo Picasso

paulo-pereira[dot]perso[at]wanadoo[dot]fr
tweak

2004-06-17, 11:51 pm

Mike Chirico wrote:
> "tweak" <xbwaichunasx@cox.net> wrote in message
> news:WG5Ac.75308$My6.41097@fed1read05...
>
>
>
> Which "Unix Network Programming" are you looking at?
>
> There is "Unix Network programming Interprocess Communications", Vol 2, 2n
> edu, by Richard Stevens which covers a lot.
>
> Regards,
>
> Mike Chirico
>
>


I am using the first one along with the GNU library to update the
examples as I go through the book. My only complaint about the Unix
Network programming book is the wrapper functions he uses for error
reporting, which I have replaced with perror() (in rare cases herror() )
or fprintf() in if {} statements terminated with either exit(1) or
abort(), and his huge header files like unp.h, which I have had to tweak
for linux.

What does the second book cover? And how much of it is still current?

Thanks,

Brian
Paulo PEREIRA

2004-06-26, 10:10 am

On 2004-06-18, tweak <xbwaichunasx@cox.net> wrote:
> Mike Chirico wrote:
>
> I am using the first one along with the GNU library to update the
> examples as I go through the book. My only complaint about the Unix
> Network programming book is the wrapper functions he uses for error


yep, they are only usable for tutorial purpose.

> reporting, which I have replaced with perror() (in rare cases herror() )
> or fprintf() in if {} statements terminated with either exit(1) or
> abort(), and his huge header files like unp.h, which I have had to tweak
> for linux.
>
> What does the second book cover? And how much of it is still current?
>
> Thanks,
>
> Brian


It covers everything you want to know about SYSV and Posix IPC:
- shared memory (SYSV and posix)
- message queues (SYSV and posix)
- semaphores (SYSV and posix)
- pipes (streams and unix) etc.

It'up to date since no major updates to these standards were made.

Get it it's *really* good book with a deep discussion about each IPC mecanism.
It's a the best book I got for IPC stuff.

cheers,
Paulo

--
"Computers are useless. They can only give you answers"
- Pablo Picasso

paulo-pereira[dot]perso[at]wanadoo[dot]fr
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com