Re: Perl and Parrot disagree about sched_yield on Solaris

2004-03-16 Thread Andrew Dougherty
On Tue, 16 Mar 2004, Leopold Toetsch wrote: > Andrew Dougherty <[EMAIL PROTECTED]> wrote: > > On Tue, 16 Mar 2004, Nick Ing-Simmons wrote: > > > ... , and > > neither is easily overrideable from the Configure command line. > > There is currently no config/gen/platform/solaris/threads.h so > generi

Re: Perl and Parrot disagree about sched_yield on Solaris

2004-03-16 Thread Leopold Toetsch
Andrew Dougherty <[EMAIL PROTECTED]> wrote: > On Tue, 16 Mar 2004, Nick Ing-Simmons wrote: > ... , and > neither is easily overrideable from the Configure command line. There is currently no config/gen/platform/solaris/threads.h so generic/threads.h is used. The SCHED_YIELD can be defined there a

Re: Perl and Parrot disagree about sched_yield on Solaris

2004-03-16 Thread Andrew Dougherty
On Tue, 16 Mar 2004, Nick Ing-Simmons wrote: > Andrew Dougherty <[EMAIL PROTECTED]> writes: > >Whilst trying to build ponie-2 on Solaris 8, I came across the following > >issue: In order to use threads, both perl-5.[89].x and parrot need to > >call some sort of yield() function. > > > >In parrot,

Re: Perl and Parrot disagree about sched_yield on Solaris

2004-03-16 Thread Nick Ing-Simmons
Andrew Dougherty <[EMAIL PROTECTED]> writes: >Whilst trying to build ponie-2 on Solaris 8, I came across the following >issue: In order to use threads, both perl-5.[89].x and parrot need to >call some sort of yield() function. > >In parrot, sched_yield is used; this function is available in the -l

Perl and Parrot disagree about sched_yield on Solaris

2004-03-15 Thread Andrew Dougherty
Whilst trying to build ponie-2 on Solaris 8, I came across the following issue: In order to use threads, both perl-5.[89].x and parrot need to call some sort of yield() function. In parrot, sched_yield is used; this function is available in the -lrt library, so the solaris hints file adds that in