MESSAGE
DATE | 2015-03-25 |
FROM | Ruben Safir
|
SUBJECT | Subject: [LIU Comp Sci] Threaded Programming example
|
From owner-learn-outgoing-at-mrbrklyn.com Wed Mar 25 00:05:07 2015 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: by mrbrklyn.com (Postfix) id E3C61161322; Wed, 25 Mar 2015 00:05:06 -0400 (EDT) Delivered-To: learn-outgoing-at-mrbrklyn.com Received: by mrbrklyn.com (Postfix, from userid 28) id CBB5316132C; Wed, 25 Mar 2015 00:05:06 -0400 (EDT) Delivered-To: learn-at-nylxs.com Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by mrbrklyn.com (Postfix) with ESMTP id A188F161322; Wed, 25 Mar 2015 00:04:42 -0400 (EDT) Received: from [10.0.0.19] (unknown [96.57.23.82]) by mailbackend.panix.com (Postfix) with ESMTPSA id D17A712B43; Wed, 25 Mar 2015 00:04:41 -0400 (EDT) Message-ID: <551233D9.40104-at-panix.com> Date: Wed, 25 Mar 2015 00:04:41 -0400 From: Ruben Safir User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: learn-at-nylxs.com, hangout Subject: [LIU Comp Sci] Threaded Programming example Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: owner-learn-at-mrbrklyn.com Precedence: bulk Reply-To: learn-at-mrbrklyn.com
FWIW
a small threading example of the OS class
I wasn't happy with the HW examples. I did learn a few things with this, the biggest being to write the code first without threads then add the threading.
http://www.nylxs.com/docs/grad_school/operating_systems/threads/threads.c.html http://www.nylxs.com/docs/grad_school/operating_systems/threads/
Ruben
|
|