search for: pthread_create_join

Displaying 14 results from an estimated 14 matches for "pthread_create_join".

2011 Dec 13
1
Thread-safety issues with vbox driver ?
...loc(count * sizeof(virDomainPtr)); for (i = 0 ; i < count ; ++i) { doms[i] = virDomainLookupByName(conn, names[i]); } pthread_t *threads = malloc(count * sizeof(pthread_t)); pthread_attr_t attr; pthread_attr_init(&attr); pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); for (i = 0 ; i < count ; ++i) { pthread_create(&threads[i], &attr, create_and_destroy, (void *)doms[i]); } pthread_attr_destroy(&attr); for (i = 0 ; i < count ; ++i) { pthread_join(threads[i], NULL); } virConnectClose(conn); pt...
2009 Mar 18
3
[LLVMdev] Status of LLVM's atomic intrinsics
.../* Initialize mutex and condition variable objects */ pthread_mutex_init(&count_mutex, NULL); pthread_cond_init (&count_threshold_cv, NULL); /* For portability, explicitly create threads in a joinable state */ pthread_attr_init(&attr); pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); pthread_create(&threads[0], &attr, watch_count, (void *)1); for (int t=1; t<NUM_THREADS; ++t) pthread_create(&threads[t], &attr, inc_count, (void *)t); /* Wait for all threads to complete */ for (i=0; i<NUM_THREADS; i++) { pthread_join(threads[i], NULL);...
2004 Aug 06
0
icecast2 : library error lcrypto
...ng for Vorbis... yes checking for libcurl... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... gcc configure: creating ./config.status config.status: creating Makefile config.status: creating conf/Makefile config.status: creating src/Makefile config.status: creating src/avl/Makefile config.status: creatin...
2009 Mar 18
0
[LLVMdev] Status of LLVM's atomic intrinsics
...ition variable objects */ > pthread_mutex_init(&count_mutex, NULL); > pthread_cond_init (&count_threshold_cv, NULL); > > /* For portability, explicitly create threads in a joinable state */ > pthread_attr_init(&attr); > pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); > pthread_create(&threads[0], &attr, watch_count, (void *)1); > for (int t=1; t<NUM_THREADS; ++t) > pthread_create(&threads[t], &attr, inc_count, (void *)t); > > /* Wait for all threads to complete */ > for (i=0; i<NUM_THREADS; i++) { >...
2004 Aug 06
5
Stream with Ices2 sound very metallic
Hi, I don't know why, but the stream generated by ices sounds very metallic, compared to the radio, and compared to a stream of the same quality with darkice. I tried different parameters, but it doesn't change. My parameters are : <input> <module>oss</module> <param name="rate">44100</param> <!-- samplerate --> <param
2010 Jul 01
1
Icecast on centos5
...ork without any flags... no > checking whether pthreads work with -Kthread... no > checking whether pthreads work with -kthread... no > checking for the pthreads library -llthread... no > checking whether pthreads work with -pthread... yes > checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE > checking if more special flags are required for pthreads... no > checking for pthread_spin_lock... yes > checking for curl-config... no > checking curl/curl.h usability... no > checking curl/curl.h presence... no > checking for curl/curl.h... no > checking for libcurl......
2010 Jul 01
0
Icecast on centos5
...ecking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for pthread_spin_lock... yes checking for curl-config... no checking curl/curl.h usability... no checking curl/curl.h presence... no checking for curl/curl.h... no checking for libcurl... no configure: libcurl not found con...
2005 Aug 22
2
ezstream and OSX 10.4.2 Tiger...
...o... yes checking for inet_aton... yes checking for writev... yes checking for struct sockaddr_storage.ss_family... yes checking for inet_pton... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for pthread_rwlock_t... yes checking for cc_r... gcc checking for libogg... ok checking for libvorbis... ok checking for struct ovectl_ratemanage_arg... no configure: error: requisite Ogg Vorbis library not found -- Mich...
2007 Aug 24
0
getting stuck with OSX install
...ibvorbis... ok checking for struct ovectl_ratemanage_arg... yes checking for libtheora... newer version required configure: WARNING: Theora disabled! checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for pthread_rwlock_t... yes checking for cc_r... gcc checking for curl-config... /usr/bin/curl-config checking curl/curl.h usability... yes checking curl/curl.h presence... yes checking for curl/curl.h... yes checking for l...
2006 Aug 16
2
Problem Installing rrdtool
...ecking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... gcc checking do we need malloc/malloc.h... nope, works out of the box Findr 3rd-Party Libraries checking for art_vpath_add_point in -lart_lgpl_2... yes checking libart_lgpl/libart.h usability... no checking lib...
2004 Aug 06
2
libshout2 compiling problems under FreeBSD?
...ecking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... -D_THREAD_SAFE checking for pthread_rwlock_t... yes checking for cc_r... gcc test: yes: unexpected operator checking for Ogg... yes checking for Vorbis... yes test: maybe: unexpected operator checking whether pkgconfig should be used.....
2004 Aug 06
3
libshout2 compiling problems under FreeBSD?
Hi, I couldn't find anything about this subject from archive - are there known problems with compiling libshout2 under FreeBSD 5.1 or 4.8 (both are up to date). I downloaded libshout2 latest nightly snapshot and tried to compile it on 5.0 and then later on 4.8. Both failed (problems were mostly around sock.c, sock.h, resolver.c - redeclaring and syntax errors). Thinking that it might be a
2009 Apr 26
4
1.6.1: menuselect has problems with x86_64 ??
1.6.1 svn 190575: CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" menuselect make[1]: Entering directory `/home/asterisk/rpmbuild/BUILD/asterisk-1.6.1/menuselect' gcc -m64 -march=native -mtune=native -floop-interchange -floop-strip-mine -floop-block -c -o
2015 Feb 07
5
[LLVMdev] mesa-10.4.4: BROKEN TLS support in GLX with llvm-toolchain v3.6.0rc2
...ecking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... no checking for LIBDRM... yes checking for LIBUDEV... yes checking for GLPROTO... yes checking for DRI2PROTO... yes checking for XF86VIDMODE... yes checking for DRIGL... yes checking for EXPAT......