From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Cooper Subject: good pthreads example? Date: Sun, 21 Sep 2003 11:37:31 -0400 Sender: linux-c-programming-owner@vger.kernel.org Message-ID: <20030921153731.GB4142@nevernight.net> Mime-Version: 1.0 Return-path: Content-Disposition: inline List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-c-programming@vger.kernel.org Hey all, I've been learning pthreads for the past week or so. So far, I've read through the man pages, "Pthreads Programming" from O'Reilly, an old copy of POSIX 4, and other various google searches. What I'm looking for is a good example (open source, of course) of pthreads in practice. It doesn't matter whether it's boss/worker, peer/peer, or assembly line. I'm looking for practical examples to learn from. The O'Reilly book has a good ATM (cash machine, client/server) example, but it isn't implemented in the real world... TIA, Cooper. PS - I know grepping through source will provide plenty of examples of pthreads in action, but I wouldn't know if they are sound implementations or not.