From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 698 invoked by alias); 4 Nov 2002 07:10:24 -0000 Mailing-List: contact ecos-maintainers-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: ecos-maintainers-owner@sources.redhat.com Received: (qmail 652 invoked from network); 4 Nov 2002 07:10:23 -0000 X-WebMail-UserID: mctim Date: Sun, 03 Nov 2002 23:10:00 -0000 From: mctim To: "ecos-maintainers@sources.redhat.com" X-EXP32-SerialNo: 00002817 Subject: multi-threading in eCos and Linux Message-ID: <3DDCC4D1@webmail.polyu.edu.hk> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: WebMail (Hydra) SMTP v3.62 X-SW-Source: 2002-11/txt/msg00000.txt.bz2 Hi, I am going to write a cross-platform multithreading program in eCos and Linux, as I know, both eCos and Linux are support POSIX thread (p_thread) and eCos also have some API (cyg_thread) to handle multi-threading. I want to write an crossplatform compatible program which suit to eCos and Linux. So I want to use POSIX thread to develop this program. But I afraid the performance of POSIX thread in eCos is not good as cyg_thread in eCos. Could you suggest me that which threading API in eCos is prefered( p_thread or cyg_thread)? Thanks a lot. Regards, Tim