This is the mail archive of the
ecos-maintainers@sources.redhat.com
mailing list for the eCos project.
multi-threading in eCos and Linux
- From: mctim <mctim at polyu dot edu dot hk>
- To: "ecos-maintainers at sources dot redhat dot com" <ecos-maintainers at sources dot redhat dot com>
- Date: Mon, 4 Nov 2002 15:10:20 +0800
- Subject: multi-threading in eCos and Linux
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