This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: need to use lll_futex_wake_unlock in new code for glibc 2.4
- From: Daniel De La Zerda <ddelazerda007 at yahoo dot com>
- To: libc-help at sourceware dot org
- Date: Tue, 31 Mar 2009 10:41:50 -0700 (PDT)
- Subject: Re: need to use lll_futex_wake_unlock in new code for glibc 2.4
- Reply-to: Daniel De La Zerda <danieldelazerda at gmail dot com>
Anybody?
----- Original Message ----
From: Daniel De La Zerda <ddelazerda007@yahoo.com>
To: libc-help@sourceware.org
Sent: Monday, March 30, 2009 12:17:02 PM
Subject: need to use lll_futex_wake_unlock in new code for glibc 2.4
Hey guys,
I'm trying to use lll_futex_wake_unlock in my own pthread_cond_signal code but I get a linker error saying that I have an undefined reference to lll_futex_wake_unlock. In my pthread_cond_signal source file I include <lowlevellock.h>, <shlib-compat.h>, and my own "pthread-foo.h" (here I have my mutex and condvar datastructure which is just a little different from the original one - it's smaller in size).
I know that there is old_pthread_ code in nptl that uses the lll_futex_wake_unlock, but including their headers redefine my stuff. What can I do?
Thanks,
Daniel