develooper Front page | perl.perl5.porters | Postings from July 2001

Re: [@11222] cannot compile -Duseithreads on freebsd-current

Thread Previous | Thread Next
Artur Bergman
July 9, 2001 03:37
Re: [@11222] cannot compile -Duseithreads on freebsd-current
Message ID:
01-07-09 04.50, skrev Gurusamy Sarathy på följande:

> On Sun, 08 Jul 2001 16:07:35 PDT, Richard Soderberg wrote:

>> I guess we could also catch this in ./Configure and disable ithreads until
>> we find a workaround - but that feels icky.
> That sounds like going too far.  A quick "fix" that ignores the potential
> deadlock problem would be to just add -DPTHREAD_ATFORK(a,b,c)=NOOP to
> ccflags in your platform hints.
> HTH,

Aside from the fact that freebsd realy ought to have a working
pthread_atfork, can't we just make sure the mutexes per process and thus the
two forks would not share mutexes?

On another note, it is possible to implment the current threads scheme by
using fork() and mmap (on unix systems that is), anyone want to try :)


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About