Displaying 20 results from an estimated 38 matches for "pthread_rwlock_init".
2010 Feb 14
2
[LLVMdev] [cfe-dev] clang with pthread on mingw
...ncent Richomme
> <forumer at smartmobili.com> wrote:
>> Hi,
>>
>> When testing clang on mingw platform I got some errors when pthread was
>> enabled.
>> Problem was in line 87 in RWMutex.cpp:
>>
>> // Initialize the rwlock
>> errorcode = pthread_rwlock_init(rwlock, &attr);
>> assert(errorcode == 0);
>>
>>
>> on mingw platform, pthread only support NULL attribues as shown below:
>>
>> int
>> pthread_rwlock_init (pthread_rwlock_t * rwlock,
>> const pthread_rwlockattr_t * attr)
>> {
&...
2010 Feb 14
0
[LLVMdev] [cfe-dev] clang with pthread on mingw
...at smartmobili.com> wrote:
>>> Hi,
>>>
>>> When testing clang on mingw platform I got some errors when pthread was
>>> enabled.
>>> Problem was in line 87 in RWMutex.cpp:
>>>
>>> // Initialize the rwlock
>>> errorcode = pthread_rwlock_init(rwlock, &attr);
>>> assert(errorcode == 0);
>>>
>>>
>>> on mingw platform, pthread only support NULL attribues as shown below:
>>>
>>> int
>>> pthread_rwlock_init (pthread_rwlock_t * rwlock,
>>> const pthread_rw...
2004 Aug 06
2
Evil is the pthread thingy...
...led icecast on (yeah,
sorry, I'm not exactly a linux guru myself here) libshout seems to compile
and install, however when we try to run the test.pl the first two checks
come back fine, but the third comes back and says perl: relocation error:
/usr/local/lib/libshout.so.3: undefined symbol: pthread_rwlock_init.
Please, if anyone has any clue how to get rid of this, help... It is
causing me physical pain (not really, but close)
Jimmy Blake
<p>--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a mess...
2012 Oct 12
2
[LLVMdev] cmake+ninja build error for compiler-rt sources
...mach/mach.h - not found
-- Looking for mach-o/dyld.h
-- Looking for mach-o/dyld.h - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for pthread_getspecific in pthread
-- Looking for pthread_getspecific in pthread - found
-- Looking for pthread_rwlock_init in pthread
-- Looking for pthread_rwlock_init in pthread - found
-- Looking for pthread_mutex_lock in pthread
-- Looking for pthread_mutex_lock in pthread - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for arc4random
-- Looking for arc4random - not found
-- Looki...
2023 Feb 22
1
[PATCH nbdkit] curl: Try to share as much as possible between handles in the pool
...atic pthread_cond_t cond = PTHREAD_COND_INITIALIZER;
static size_t in_use = 0, waiting = 0;
-/* Close and free all handles in the pool. */
+/* Initialize pool structures. */
void
-free_all_handles (void)
+load_pool (void)
{
size_t i;
+ for (i = 0; i < ARRAY_SIZE (lockarray); ++i)
+ pthread_rwlock_init (&lockarray[i], NULL);
+
+ share = curl_share_init ();
+ if (share == NULL) {
+ nbdkit_error ("curl_share_init: %m");
+ exit (EXIT_FAILURE);
+ }
+ curl_share_setopt (share, CURLSHOPT_LOCKFUNC, lock_cb);
+ curl_share_setopt (share, CURLSHOPT_UNLOCKFUNC, unlock_cb);
+ curl_s...
2012 Oct 13
2
[LLVMdev] [cfe-dev] cmake+ninja build error for compiler-rt sources
...gt; -- Looking for mach-o/dyld.h - not found
> > -- Looking for pthread_create in pthread
> > -- Looking for pthread_create in pthread - found
> > -- Looking for pthread_getspecific in pthread
> > -- Looking for pthread_getspecific in pthread - found
> > -- Looking for pthread_rwlock_init in pthread
> > -- Looking for pthread_rwlock_init in pthread - found
> > -- Looking for pthread_mutex_lock in pthread
> > -- Looking for pthread_mutex_lock in pthread - found
> > -- Looking for dlopen in dl
> > -- Looking for dlopen in dl - found
> > -- Looking f...
2012 Oct 12
0
[LLVMdev] cmake+ninja build error for compiler-rt sources
...oking for mach-o/dyld.h
> -- Looking for mach-o/dyld.h - not found
> -- Looking for pthread_create in pthread
> -- Looking for pthread_create in pthread - found
> -- Looking for pthread_getspecific in pthread
> -- Looking for pthread_getspecific in pthread - found
> -- Looking for pthread_rwlock_init in pthread
> -- Looking for pthread_rwlock_init in pthread - found
> -- Looking for pthread_mutex_lock in pthread
> -- Looking for pthread_mutex_lock in pthread - found
> -- Looking for dlopen in dl
> -- Looking for dlopen in dl - found
> -- Looking for arc4random
> -- Looking...
2011 Oct 25
0
[LLVMdev] [LLVMDev] Clang stopped compiling?
On Oct 25, 2011, at 6:09 AM, Marcello Maggioni wrote:
> Hi, I'm trying to compile the latest clang/llvm SVN versions and I get
> this error on multiple systems :
Linking, not compiling, but still.
I am getting a similar error when building this morning.
> Undefined symbols for architecture x86_64:
> "clang::Sema::checkPseudoObjectRValue(clang::Expr*)", referenced
2012 Oct 13
0
[LLVMdev] [cfe-dev] cmake+ninja build error for compiler-rt sources
...ach-o/dyld.h - not found
>> > -- Looking for pthread_create in pthread
>> > -- Looking for pthread_create in pthread - found
>> > -- Looking for pthread_getspecific in pthread
>> > -- Looking for pthread_getspecific in pthread - found
>> > -- Looking for pthread_rwlock_init in pthread
>> > -- Looking for pthread_rwlock_init in pthread - found
>> > -- Looking for pthread_mutex_lock in pthread
>> > -- Looking for pthread_mutex_lock in pthread - found
>> > -- Looking for dlopen in dl
>> > -- Looking for dlopen in dl - found
&g...
2004 Aug 06
0
Evil is the pthread thingy...
...,
> sorry, I'm not exactly a linux guru myself here) libshout seems to compile
> and install, however when we try to run the test.pl the first two checks
> come back fine, but the third comes back and says perl: relocation error:
> /usr/local/lib/libshout.so.3: undefined symbol: pthread_rwlock_init.
> Please, if anyone has any clue how to get rid of this, help... It is
> causing me physical pain (not really, but close)
make sure that you have a perl that is thread aware (perl -V) or build
libshout without thread support.
karl
--- >8 ----
List archives: http://www.xiph.org/arc...
2012 Oct 13
2
[LLVMdev] [cfe-dev] cmake+ninja build error for compiler-rt sources
...> >> > -- Looking for pthread_create in pthread
> >> > -- Looking for pthread_create in pthread - found
> >> > -- Looking for pthread_getspecific in pthread
> >> > -- Looking for pthread_getspecific in pthread - found
> >> > -- Looking for pthread_rwlock_init in pthread
> >> > -- Looking for pthread_rwlock_init in pthread - found
> >> > -- Looking for pthread_mutex_lock in pthread
> >> > -- Looking for pthread_mutex_lock in pthread - found
> >> > -- Looking for dlopen in dl
> >> > -- Looking fo...
2011 Oct 25
2
[LLVMdev] [LLVMDev] Clang stopped compiling?
Hi, I'm trying to compile the latest clang/llvm SVN versions and I get
this error on multiple systems :
(Compiling with gcc):
llvm[4]: Compiling cc1_main.cpp for Debug+Asserts build
llvm[4]: Compiling cc1as_main.cpp for Debug+Asserts build
llvm[4]: Compiling driver.cpp for Debug+Asserts build
llvm[4]: Linking Debug+Asserts executable clang
2013 Nov 11
2
[LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
...- Looking for mach-o/dyld.h
> -- Looking for mach-o/dyld.h - found
> -- Looking for pthread_create in pthread
> -- Looking for pthread_create in pthread - found
> -- Looking for pthread_getspecific in pthread
> -- Looking for pthread_getspecific in pthread - found
> -- Looking for pthread_rwlock_init in pthread
> -- Looking for pthread_rwlock_init in pthread - found
> -- Looking for pthread_mutex_lock in pthread
> -- Looking for pthread_mutex_lock in pthread - found
> -- Looking for dlopen in dl
> -- Looking for dlopen in dl - found
> -- Looking for clock_gettime in rt
> --...
2013 Nov 11
0
[LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
...king for mach/mach.h - found
-- Looking for mach-o/dyld.h
-- Looking for mach-o/dyld.h - found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for pthread_getspecific in pthread
-- Looking for pthread_getspecific in pthread - found
-- Looking for pthread_rwlock_init in pthread
-- Looking for pthread_rwlock_init in pthread - found
-- Looking for pthread_mutex_lock in pthread
-- Looking for pthread_mutex_lock in pthread - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt -...
2013 Nov 11
0
[LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
...t; > -- Looking for mach-o/dyld.h - found
> > -- Looking for pthread_create in pthread
> > -- Looking for pthread_create in pthread - found
> > -- Looking for pthread_getspecific in pthread
> > -- Looking for pthread_getspecific in pthread - found
> > -- Looking for pthread_rwlock_init in pthread
> > -- Looking for pthread_rwlock_init in pthread - found
> > -- Looking for pthread_mutex_lock in pthread
> > -- Looking for pthread_mutex_lock in pthread - found
> > -- Looking for dlopen in dl
> > -- Looking for dlopen in dl - found
> > -- Looking f...
2004 Aug 06
1
Evil is the pthread thingy...
...not exactly a linux guru myself here) libshout seems to
>> compile and install, however when we try to run the test.pl the first
>> two checks come back fine, but the third comes back and says perl:
>> relocation error: /usr/local/lib/libshout.so.3: undefined symbol:
>> pthread_rwlock_init. Please, if anyone has any clue how to get rid of
>> this, help... It is causing me physical pain (not really, but close)
>
> make sure that you have a perl that is thread aware (perl -V) or build
> libshout without thread support.
>
> karl
>
> --- >8 ----
> List...
2023 Feb 22
2
[PATCH nbdkit] curl: Try to share as much as possible between handles in the pool
I'm mainly posting this to the list as a back-up. It does work, it
does _not_ improve performance in any noticable way. However I'm
having lots of trouble getting HTTP/2 to work (with or without this
patch) and that's stopping me from testing anything properly.
Rich.
2012 Oct 16
0
[LLVMdev] [cfe-dev] cmake+ninja build error for compiler-rt sources
...t; -- Looking for pthread_create in pthread
>> >> > -- Looking for pthread_create in pthread - found
>> >> > -- Looking for pthread_getspecific in pthread
>> >> > -- Looking for pthread_getspecific in pthread - found
>> >> > -- Looking for pthread_rwlock_init in pthread
>> >> > -- Looking for pthread_rwlock_init in pthread - found
>> >> > -- Looking for pthread_mutex_lock in pthread
>> >> > -- Looking for pthread_mutex_lock in pthread - found
>> >> > -- Looking for dlopen in dl
>> >>...
2016 Feb 25
2
Building with LLVM_PARALLEL_XXX_JOBS
...histedit.h - found
-- Performing Test HAVE_CXXABI_H
-- Performing Test HAVE_CXXABI_H - Success
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for pthread_getspecific in pthread
-- Looking for pthread_getspecific in pthread - found
-- Looking for pthread_rwlock_init in pthread
-- Looking for pthread_rwlock_init in pthread - found
-- Looking for pthread_mutex_lock in pthread
-- Looking for pthread_mutex_lock in pthread - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt -...
2013 Nov 11
2
[LLVMdev] [cfe-dev] [Reminder] LLVM 3.4 Release Branching
This file is for configure+make build, not CMake, so I'm not sure why
it's being included into your build (these failures aren't
reproducible for me).
Can you please list the exact steps you're doing to build LLVM with
CMake and make sure you don't have additional CFLAGS (LDFLAGS etc)
defined?
On Mon, Nov 11, 2013 at 6:16 PM, Jack Howarth <howarth at bromo.med.uc.edu>