|
The Question is:
Came up with an reserved operand fault because of the placement of a
pthread_mutex structure within another structure.
We are compiling with a granularity /BYTE using Compaq C V6.5-001 on OpenVMS
Alpha V7.3-1.
We were able to fix the problem by doing the folowing:
#PRAGMA member_alignment save
#PRAGMA member_alignment
#include <pthread.h>
#PRAGMA member_alignment restore
The above snippet placed the pthread_mutex from a previous non-longword
boundary to a longword boundary.
The question I have is should this bulletproofing have been in the pthread
header itself because of the low level system calls needed to get the threads
to work?
The Answer is :
Please contact the support center directly, as details and a source code
reproducer will likely be required.
|