Displaying 6 results from an estimated 6 matches for "pthread_rwlockattr_t".
2010 Feb 14
2
[LLVMdev] [cfe-dev] clang with pthread on mingw
Hi Vincent,
This is an LLVM issue, rather than a clang issue, so llvmdev is the appropriate mailing list for this report.
Your fix looks semantically valid, but it would be cleaner to only create and destroy the pthread_rwlockattr_t if it is actually needed, rather than creating it, initialising it, not using it, and then destroying it on mingw (and, as the code currently stands, *BSD).
The code in the #ifdef just above your change is a bit strange too. Perhaps someone could explain this. It is setting PTHREAD_PROCESS_PRI...
2010 Feb 14
0
[LLVMdev] [cfe-dev] clang with pthread on mingw
...--Owen
On Feb 14, 2010, at 6:30 AM, David Chisnall wrote:
> Hi Vincent,
>
> This is an LLVM issue, rather than a clang issue, so llvmdev is the appropriate mailing list for this report.
>
> Your fix looks semantically valid, but it would be cleaner to only create and destroy the pthread_rwlockattr_t if it is actually needed, rather than creating it, initialising it, not using it, and then destroying it on mingw (and, as the code currently stands, *BSD).
>
> The code in the #ifdef just above your change is a bit strange too. Perhaps someone could explain this. It is setting PTHREAD_P...
2004 Oct 23
1
Issues with compiling wine
...ng for pthread_rwlock_t
configure:10562: gcc -c -g -O2 conftest.c >&5
configure:10568: $? = 0
configure:10571: test -z || test ! -s conftest.err
configure:10574: $? = 0
configure:10577: test -s conftest.o
configure:10580: $? = 0
configure:10591: result: yes
configure:10601: checking for pthread_rwlockattr_t
configure:10627: gcc -c -g -O2 conftest.c >&5
configure:10633: $? = 0
configure:10636: test -z || test ! -s conftest.err
configure:10639: $? = 0
configure:10642: test -s conftest.o
configure:10645: $? = 0
configure:10656: result: yes
configure:10680: checking for pthread_getattr_np
conf...
2006 May 18
2
Problems compiling Wine
...ng for freetype/internal/sfnt.h... yes
checking for FT_TrueTypeEngineType... no
checking for FT_Load_Sfnt_Table... yes
checking for parport header/ppdev.h... yes
checking for va_copy... yes
checking for __va_copy... yes
checking for sigsetjmp... yes
checking for pthread_rwlock_t... yes
checking for pthread_rwlockattr_t... yes
checking for pthread_getattr_np... yes
checking for pthread_get_stackaddr_np... no
checking for pthread_get_stacksize_np... no
checking for artsc-config... /usr/bin/artsc-config
checking for arts_init in -lartsc... yes
checking for esd-config... /usr/bin/esd-config
checking for esd_open_soun...
2012 Nov 29
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
I have a new problem: Register RBP is used in a function foo. (I am not
allocating RBP to any virtual register, the instances of RBP in function
foo are in the machine code when my register allocator starts.)
Function foo calls function bar. Register RBP is not saved across the
call, though it is live after the call. Function bar includes a virtual
register. The code that I'm using to
2012 Dec 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...ders_queued;
unsigned int __nr_writers_queued;
int __writer;
int __shared;
unsigned long int __pad1;
unsigned long int __pad2;
unsigned int __flags;
} __data;
char __size[56];
long int __align;
} pthread_rwlock_t;
typedef union
{
char __size[8];
long int __align;
} pthread_rwlockattr_t;
typedef volatile int pthread_spinlock_t;
typedef union
{
char __size[32];
long int __align;
} pthread_barrier_t;
typedef union
{
char __size[4];
int __align;
} pthread_barrierattr_t;
typedef long int ptrdiff_t;
extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute...