This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
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: Mon, 30 Mar 2009 09:17:02 -0700 (PDT)
- Subject: 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>
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