Nick Kostirya <[EMAIL PROTECTED]> wrote:
> I have built Parrot on NetBSD with GNU Portable Threads.
> All (except SKIP) threads.t tests is successful,
> BUT "interp identity" and "thread - kill".
> Test "interp identity" sleep perpetual after printing ok1 and ok2.
Strange. Actually no PASM thread is started here. Could you attach a
debugger and look, where it hangs?
> Test "thread - kill" running perpetual using 100% CPU.
That's clear. The thread is spinning in this loop:
lp:
noop
branch lp
As pth(3) doesn't preempt threads, it runs forever. Please try this:
lp:
sleep 0.1
branch lp
> Nick.
leo