Nick Kostirya <[EMAIL PROTECTED]> wrote:
> Another question.
> Do enable link with PTH into config/init/hints/netbsd.pl for NetBSD 1.x
> always or only in the presence PTH, or to build without threads by default?
If we get it running with PTH and PTH is there, we should enable it.
> Nick.
leo
> On Wed, Mar 31, 2004 at 01:54:35PM +0200, Leopold Toetsch said:
> > > Probably select have been called without timeout.
> >
> > Yes that's true. But the event thread wakes up the io_thread (s.
> > stop_io_thread). This seems to fail with PTH as it doesn't preempt.
> >
> > Looking at the code, thi
> >> Could you attach a debugger and look, where it hangs?
>
> > nick_vm: {93} gdb ./parrot
>
> Please try this:
>
> $ parrot hangs.pasm
>
> [ second console ]
> $ ps axw | grep [p]arrot
> $ gdb parrot
> gdb> thread 1
> gdb> bac
> gdb> thread 2
But gdb on NetBSD don't support threads.
nick_vm:
On Wed, Mar 31, 2004 at 01:54:35PM +0200, Leopold Toetsch said:
> > Probably select have been called without timeout.
>
> Yes that's true. But the event thread wakes up the io_thread (s.
> stop_io_thread). This seems to fail with PTH as it doesn't preempt.
>
> Looking at the code, this seems to h
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. Actu
> > 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.
And why GD
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
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.
Test "thread - kill" running perpetual using 100% CPU.
Than I can help?
Nick.