渡辺哲也です。
In message "[ruby-dev:28127] Intel C++ Compiler and HP aC++/ANSI C on IA64"
on 05/12/27, Tanaka Akira さん writes:
|なお、HP aC++/ANSI C でも -O0 で make all install test まで
|はいきますが、test-all はまだうまく動きません。
|
|-O0 でしか動かない原因はわかっていて、gcc での getcontext の
|話と同じです。悪いことに Intel C++ Compiler も HP aC++/ANSI C
|も setjmp にしても避けられなくて、gcc でのごまかしが効かない
|感じです。gcc 4.0.3 みたいにコンパイラ側で対処してくれるとい
|いんですが。
|
|どうでしょう?
ぜんぜんついていけていないのですが、次の二つの資料があり
もしかすると役立つかもしれません。
------------------------------
Context routines for user level thread switching on HP-UX
http://h21007.www2.hp.com/dspp/files/unprotected/threads/ContextRoutines_UsrLvlThredSwitch_HPUX_0605.pdf
------------------------------
------------------------------
Implementing User Level Threading on the IntelR ItaniumR Architecture
Michael Saboff
Version 1.0 October 21, 2003 Hewlett-Packard Company
http://h21007.www2.hp.com/dspp/files/unprotected/threads/Itaniumthreads.pdf
------------------------------
makecontext() getcontext() swapcontext() だけで済むような、レベ
ルの話ではないのかもしれないのですが。
|