search for: pthread_mutexattr_init

Displaying 20 results from an estimated 23 matches for "pthread_mutexattr_init".

2019 Apr 12
1
gencache.tdb: device busy
...uven_Weiler at gmx.net> Cc: samba at lists.samba.org Betreff: Re: Re: [Samba] gencache.tdb: device busy On Tue, Apr 02, 2019 at 01:24:19PM +0200, Rouven WEILER wrote: > > > I added LOG statements to mutex.c printing the strerror from the return values. >   > From >   > ret = pthread_mutexattr_init(&ma); in line 570 >   > I got errorno 16 --> device busy. >   > But due the manual of pthread_mutex_attr_init() there should only be ENOMEM and EINVAL... >   > Doing gdb smbd -> run > Doe not reveal anything, but I never used gdb for debugging anything. I just gave it...
2009 May 22
0
[LLVMdev] CMake build maturity [was: Re: Arm port]
...../lib/libLLVMSystem.a(Mutex.cpp.o): In function `llvm::sys::Mutex::tryacquire()': Mutex.cpp:(.text+0x3f): undefined reference to `pthread_mutex_trylock' ../../lib/libLLVMSystem.a(Mutex.cpp.o): In function `llvm::sys::Mutex::Mutex(bool)': Mutex.cpp:(.text+0x1bb): undefined reference to `pthread_mutexattr_init' Mutex.cpp:(.text+0x216): undefined reference to `pthread_mutexattr_settype' Mutex.cpp:(.text+0x256): undefined reference to `pthread_mutexattr_setpshared' Mutex.cpp:(.text+0x2a3): undefined reference to `pthread_mutexattr_destroy' ../../lib/libLLVMSystem.a(Mutex.cpp.o): In function...
2019 Apr 02
2
gencache.tdb: device busy
I added LOG statements to mutex.c printing the strerror from the return values.   From   ret = pthread_mutexattr_init(&ma); in line 570   I got errorno 16 --> device busy.   But due the manual of pthread_mutex_attr_init() there should only be ENOMEM and EINVAL...   Doing gdb smbd -> run Doe not reveal anything, but I never used gdb for debugging anything. I just gave it a shot...         Gesendet: Monta...
2009 May 22
5
[LLVMdev] Arm port
Chuck Robey <chuckr at telenix.org> writes: >> Doesn't CMake support the BSD toolchain? > > OK, I checked the llvm-2.5 Makefiles. They have constructs in them > which cannot be used in any BSD Makefile (such as the form of > conditionals: ifndef is a GNU Makeism), and won't run on any BSD Make. > I know BSD Make and GNU Make well enough, but I doon't know
2020 Mar 30
2
"configure: error: Unable to find <rpc/rpc.h>" when compiling libvirt 6.0.0 from a release tarball
...to avoid indirect lib deps... -Wl,--no-copy-dt-needed-entries checking for how to stop undefined symbols at link time... -Wl,-z -Wl,defs checking sys/acl.h usability... no checking sys/acl.h presence... no checking for sys/acl.h... no checking for aa_change_profile in -lapparmor... no checking for pthread_mutexattr_init... yes checking for pthread.h... (cached) yes checking whether pthread_sigmask does anything... yes checking for atomic ops implementation... gcc checking for getxattr in -lattr... no checking for audit_encode_nv_string in -laudit... no checking for pkg-config... /usr/bin/pkg-config checking pkg-co...
2009 May 27
0
[LLVMdev] CMake build maturity
...unction `llvm::sys::Mutex::tryacquire()': /home/melis/c/llvm-svn/lib/System/Mutex.cpp:144: undefined reference to `pthread_mutex_trylock' /home/melis/llvm-cmake/lib/libLLVMSystem.a(Mutex.cpp.o): In function `Mutex': /home/melis/c/llvm-svn/lib/System/Mutex.cpp:69: undefined reference to `pthread_mutexattr_init' /home/melis/c/llvm-svn/lib/System/Mutex.cpp:75: undefined reference to `pthread_mutexattr_settype' /home/melis/c/llvm-svn/lib/System/Mutex.cpp:80: undefined reference to `pthread_mutexattr_setpshared' /home/melis/c/llvm-svn/lib/System/Mutex.cpp:88: undefined reference to `pthread_mutex...
2019 Aug 19
5
Compiling Libvirt on Windows for Hyper V support
...undefined symbols at link time… > checking sys/acl.h usability... no > checking sys/acl.h presence… no > checking for sys/acl.h… no > checking for aa_change_profile in -lapparmor… no > checking for pthread_mutexattr_init… no > checking for pthread.h... (cached) no > configure: error: A pthreads impl is required for building libvirt ... Does anyone have any experience compiling Libvirt on a windows machine ? Specifically I am trying to enable hyper-v domain on Libvirt. Thanks, Reza Shahriari
2009 May 22
2
[LLVMdev] CMake build maturity
Paul Melis <llvm at assumetheposition.nl> writes: > Hi, just chiming in here... > > Óscar Fuentes wrote: >> [...] >> >> This is a simple guide for using cmake with LLVM: >> >> http://www.llvm.org/docs/CMake.html >> >> The makefiles distributed with LLVM have nothing to do with cmake. >>From the few times I tried building LLVM with
2020 Mar 30
0
Re: "configure: error: Unable to find <rpc/rpc.h>" when compiling libvirt 6.0.0 from a release tarball
...-Wl,--no-copy-dt-needed-entries > checking for how to stop undefined symbols at link time... -Wl,-z -Wl,defs > checking sys/acl.h usability... no > checking sys/acl.h presence... no > checking for sys/acl.h... no > checking for aa_change_profile in -lapparmor... no > checking for pthread_mutexattr_init... yes > checking for pthread.h... (cached) yes > checking whether pthread_sigmask does anything... yes > checking for atomic ops implementation... gcc > checking for getxattr in -lattr... no > checking for audit_encode_nv_string in -laudit... no > checking for pkg-config... /usr/...
2004 Jul 30
1
Compiling * on OpenBSD 3.5
...c/asterisk/asterisk/sched.c:380: undefined reference to `pthread_mutex_lock' /usr/src/asterisk/asterisk/sched.c:399: undefined reference to `pthread_mutex_unlock' sched.o: In function `sched_context_create': /usr/src/asterisk/asterisk/include/asterisk/lock.h:299: undefined reference to `pthread_mutexattr_init' /usr/src/asterisk/asterisk/include/asterisk/lock.h:300: undefined reference to `pthread_mutexattr_settype' /usr/src/asterisk/asterisk/include/asterisk/lock.h:301: undefined reference to `pthread_mutex_init' sched.o: In function `sched_context_destroy': and /usr/lib/l...
2003 Oct 29
4
Fix for USE_POSIX_THREADS in auth-pam.c
...changed). Reinitialize + * everything if this has happened (we know beforehand that these + * structures can't yet be in use in our process). + */ + if (process_id != (pid_holder = getpid())) { + sshpam_handle_lock_ready = 0; + process_id = pid_holder; + sshpam_handle_lock_count = 0; + pthread_mutexattr_init(&lock_attr); + pthread_mutexattr_settype(&lock_attr, PTHREAD_MUTEX_RECURSIVE); + pthread_mutex_init(&sshpam_handle_lock, &lock_attr); + sshpam_handle_lock_ready = 1; + } + if (!sshpam_handle_lock_ready) { + if (set) + sshpam_handle = value; + return sshpam_handle; + } + ++ssh...
2006 Oct 24
0
Core dumps when Releasing clone lock
...UG[57839] channel.c: Bridge stops bridging channels SIP/XXXXXX-c3c3 and SIP/XXXXXX-158e<ZOMBIE> Oct 20 11:09:37 DEBUG[57839] app_dial.c: Exiting with DIALSTATUS=ANSWER. Asterisk exited on signal 11. GDB: #0 0x282e1373 in pthread_testcancel () from /usr/lib/libpthread.so.1 #1 0x282d992e in pthread_mutexattr_init () from /usr/lib/libpthread.so.1 #2 0x28145450 in ?? () Regards ?yvind Albrigtsen
2012 Jan 26
1
[PATCH v2] libxl: fix mutex initialization
...012 +0100 +++ b/tools/libxl/libxl_internal.c Sat Jan 14 19:04:48 2012 +0100 @@ -296,6 +296,33 @@ int libxl__file_reference_unmap(libxl_fi return 0; } +_hidden int libxl__init_recursive_mutex(libxl_ctx *ctx, pthread_mutex_t *lock) +{ + pthread_mutexattr_t attr; + int rc = 0; + + if (pthread_mutexattr_init(&attr) != 0) { + LIBXL__LOG_ERRNO(ctx, LIBXL__LOG_ERROR, + "Failed to init mutex attributes\n"); + return ERROR_FAIL; + } + if (pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE) != 0) { + LIBXL__LOG_ERRNO(ctx, LIBXL__LOG_...
2008 Jan 23
1
FreeBSD 6.3-Release + squid 2.6.17 = Hang process.
...IME WCPU COMMAND 8674 squid 1 121 0 105M 100M CPU3 1 0:26 98.54% squid truss: (no response) _xx@xxxx_[root]:~#truss -p 8674 gdb: (gdb) bt #0 0x881679eb in pthread_sigmask () from /lib/libpthread.so.2 #1 0x8816799c in sigprocmask () from /lib/libpthread.so.2 #2 0x88172544 in pthread_mutexattr_init () from /lib/libpthread.so.2 #3 0x88164680 in fork () from /lib/libpthread.so.2 #4 0x08091091 in ?? () #5 0x00000012 in ?? () #6 0x00000004 in ?? () #7 0x080e6edb in ?? () #8 0xbfbfe4a4 in ?? () #9 0x00000004 in ?? () #10 0x00000000 in ?? () netstat -h 8: 118K 0 37M 2...
2011 Jan 04
2
[LLVMdev] LLVM for ARM target
..._pthread_key_create' ../../llvm-gcc/gcc/gthr-posix.h:104: error: `pthread_key_delete' undeclared here (not in a function) ../../llvm-gcc/gcc/gthr-posix.h:104: warning: type defaults to `int' in declarat ion of `__gthrw_pthread_key_delete' ../../llvm-gcc/gcc/gthr-posix.h:105: error: `pthread_mutexattr_init' undeclared here (not in a function) ../../llvm-gcc/gcc/gthr-posix.h:105: warning: type defaults to `int' in declarat ion of `__gthrw_pthread_mutexattr_init' ../../llvm-gcc/gcc/gthr-posix.h:106: error: `pthread_mutexattr_settype' undeclar ed here (not in a function) ../../llvm-gcc/g...
2012 Sep 24
0
[LLVMdev] llvm-config!
Reza Sheykhi <hajishey at msu.edu> writes: > I got the following answers: > > which perl > /usr/bin/perl > > which llvm-config > /usr/local/bin/llvm-config > > which llvm-as > /usr/local/bin/llvm-as > > /usr/bin/llvm-confing --version > bash: /usr/bin/llvm-confing: No such file or directory Uh, there is a typo on the command above, it should be
2011 Jan 02
0
[LLVMdev] LLVM for ARM target
On Jan 1, 2011, at 8:29 PM, akramul azim wrote: > Hi, > I am planning to follow the steps to install LLVM for the ARM-target (Processor: Xscale, Architecture: armv5te): > > 1. Install binutils-2.21 (downloaded from gnu.org) > > Steps: > > $ ./configure --target=arm-unknown-linux-gnueabi --program-prefix=arm- --prefix > =/llvm/arm
2012 Sep 24
2
[LLVMdev] llvm-config!
I got the following answers: which perl /usr/bin/perl which llvm-config /usr/local/bin/llvm-config which llvm-as /usr/local/bin/llvm-as /usr/bin/llvm-confing --version bash: /usr/bin/llvm-confing: No such file or directory /usr/local/bin/llvm-config --version 2.8 Quoting Óscar Fuentes <ofv at wanadoo.es>: > Reza Sheykhi <hajishey at msu.edu> writes: > >> Thank you
2011 Jan 02
3
[LLVMdev] LLVM for ARM target
Hi,     I am planning to follow the steps to install LLVM for the ARM-target (Processor: Xscale, Architecture: armv5te):   1. Install binutils-2.21 (downloaded from gnu.org)   Steps:   $ ./configure --target=arm-unknown-linux-gnueabi --program-prefix=arm- --prefix =/llvm/arm --with-sysroot=/llvm/arms/sys-root   $ make   $ make install   2. Install LLVM   Steps   $ ../llvm-src/configure
2017 Jan 23
2
undefined symbols during linking LLDB 4.0 RC1
...etstacksize 0000000000000000 DO *UND* 0000000000000010 GLIBC_2.2.5 in6addr_loopback 0000000000000000 DF *UND* 0000000000000037 GLIBC_2.3 __ctype_toupper_loc 0000000000000000 DF *UND* 0000000000000025 GLIBC_2.2.5 statfs 0000000000000000 DF *UND* 0000000000000009 GLIBC_2.2.5 pthread_mutexattr_init 0000000000000000 DF *UND* 000000000000014d GLIBC_2.2.5 fread 0000000000000000 DF *UND* 000000000000000f Base _ZNKSt3__114error_category10equivalentERKNS_10error_codeEi 0000000000000000 DF *UND* 0000000000000025 GLIBC_2.2.5 readlink 0000000000000000 DF *UND* 00000000000...