Date: Tue, 22 Sep 2009 19:30:20 +0200 From: Alex Dupre <ale@FreeBSD.org> To: freebsd-threads@FreeBSD.org Subject: Re: how to overcome missing stubs in FreeBSD 6 (continued) Message-ID: <4AB909AC.1000707@FreeBSD.org> In-Reply-To: <4AB905D4.6020608@FreeBSD.org> References: <4AB905D4.6020608@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Alex Dupre wrote: > In the pthread_equal() case the "right != clean" thing could be to > create a stub comparing the parameters instead of blindly return(1). Maybe the following solution is better: int pthread_equal() __attribute__ ((weak)); #define pthread_equal(a,b) (pthread_equal == 0 ? 1 : pthread_equal(a,b)) -- Alex Dupre
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AB909AC.1000707>
