Descriptionruntime: use UMTX_OP_WAIT_UINT on FreeBSD
UMTX_OP_WAIT expects that the address points to a uintptr, but
the code in lock_futex.c uses a uint32. UMTX_OP_WAIT_UINT is
just like UMTX_OP_WAIT, but the address points to a uint32.
This almost certainly makes no difference on a little-endian
system, but since the kernel supports it we should do the
right thing. And, who knows, maybe it matters.
Patch Set 1 #Patch Set 2 : diff -r 2e8f058b4607 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 9bb42a7021c9 https://go.googlecode.com/hg/ #
MessagesTotal messages: 16
|