[prev in list] [next in list] [prev in thread] [next in thread]
List: mysql
Subject: Re: mysql: Porting mysql to HPUX 10.20
From: Ben Elliston <bje () air ! net ! au>
Date: 1997-06-28 9:42:26
[Download RAW message or body]
> I'm trying to port MySQL to HPUX 10.20, using HP's native DCE threads. I think
> I've ironed out most of the API mismatches, but the compile dies in
> mysys/thr_lock.c around line 119:
>
> if (data->thread == lock->write.data->thread)
>
> with the error message:
>
> thr_lock.c:119: invalid operands to binary ==
>
> I've checked the various header files, and note that this should be a
> comparison between 2 pthread_t variables. However, even forcibly casting the
> variables doesnt seem to work, nor does explicitly sticking in parentheses.
In HP-UX's DCE threads, a pthread_t type is not a simple data type. It's
a structure and they can't be compared using "==".
Ben
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic