needs a tester with an SMP 7.0 box
sobomax at FreeBSD.org
Fri Feb 1 08:21:18 PST 2008
Kris Kennaway wrote:
> Maxim Sobolev wrote:
>> P.S. I've compiled the program as follows:
>> $ cc -pthread testkse.c -o a.out -lkse
> That is wrong, you linked it to both thread libraries. Either use
> -pthread and libmap, or just -lkse should be OK.
It doesn't matter. I've tried both ways (with and w/o -pthread), the
behavior it the same and by the way ldd a.out shows that only libkse has
been linked in in both cases.
More information about the freebsd-current