I have to look at your new patch later. I think I liked the first one more.... all that had to be changed was to add #if __i386__ struct pthread *self #endif at the head of struct pthread. (I think)