Embedded 版 (精华区)
发信人: he (无情的雨), 信区: Embedded_system
标 题: linux for ppc chapter 16
发信站: 哈工大紫丁香 (2001年06月04日11:08:57 星期一), 站内信件
----------------------------------------------------------------------------
----
16. Threads
If you need multithreading, using POSIX threads will give your application p
ortability, even to non-Linux embedded systems. For example, they're support
ed by EL/IX (see http://sources.redhat.com/elix/), eCos, RTEMs, and virtuall
y all desktop systems.
POSIX threads support is supplied with glibc2 as an add-on, enabled by confi
guring with '--enable-add-ons=linuxthreads'.
It is also possible to build older (i.e. smaller) libc5 with LinuxThreads. S
ee: http://pauillac.inria.fr/~xleroy/linuxthreads/faq.html
LinuxThread support has now been integrated into the official gdb release (c
urrently 5.0), which makes thread debugging much easier. Versions of gdb pri
or to 5.0 did not support threads directly, although you can 'attach' to the
thread processes individually.
The courageous can also call clone() directly.
----------------------------------------------------------------------------
----
--
※ 来源:·哈工大紫丁香 bbs.hit.edu.cn·[FROM: 202.118.235.250]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:2.008毫秒