Tell the compilers to pack the struct's (if different alignment is the
problem).
For GCC use: __attribute__((packed))
For Borland compiler use (I think): #pragma pack
René
Dennis Jarosch wrote:
> Hi Rob!
>
> Robert Collins wrote:
>
>> Mixing C++ between compilers generally doesn't work. See
reat it as an opaque type anyway,
> just storing or passing around to next thread function!
> What's the sense of the sum or difference of pthread_t's?
> Wait, you can also compare for equality,
> but that works for pointers...
>
> Bye, Heribert ([EMAIL PROTECTED])
>
Hi,
I was porting my framework to Cygwin and noticed that pthread_t is a
typedef of a void pointer.
According to "The Single UNIX Specification, Version 2" and "IEEE Std
1003.1-2001" pthread_t must be defined as an arithmetic type (i.e.
either a floating-point type or an integral type). The p
3 matches
Mail list logo