On Mon, Nov 25, 2002 at 08:24:58PM -0800, Mark Mitchell wrote:
Yes, it really wants a 64-bit type. It wants 8 bits for a flag, and
7 other bytes for use as appropriate on the particular OS; the idea
is that you might hide a mutex in those other 7 bytes. You wouldn't
want to shrink this to 4 bytes on a 32-bit architecture; you want
4 bytes that you can use as the mutex.
If you want to be sure of a mutex, you have to do more.
PA-RISC, for instance, requires that it's mutexes be
16 *byte* aligned.
Right. The idea was that in that case you'd put an index of some sort