DragonFly BSD
DragonFly users List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Question about threading implementation


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Mon, 7 Mar 2005 11:17:09 +0100
Mail-followup-to: users@crater.dragonflybsd.org

On Sat, Mar 05, 2005 at 11:00:26PM +0000, Jonathon McKitrick wrote:
> When I use -lc_r, I get this:
> 
> Fatal error 'Failed to initialise garbage collector mutex or condvar' at
> line ? in file /usr/src/lib/libc_r/uthread/uthread_init.c (errno = ?)
> zsh: abort (core dumped)  app
> 
> What am I doing wrong?

You are not using -pthread. You cannot link both libc and libc_r into one
program.

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]