• Mikio Hara's avatar
    runtime: make use of THREAD_SHARE userspace mutex on freebsd · ae9b661f
    Mikio Hara authored
    For now Note, futexsleep and futexwakeup are designed for threads,
    not for processes. The explicit use of UMTX_OP_WAIT_UINT_PRIVATE and
    UMTX_OP_WAKE_PRIVATE can avoid unnecessary traversals of VM objects,
    to hit undiscovered bugs related to VM system on SMP/SMT/NUMA
    environment.
    
    Update #7496
    
    LGTM=iant
    R=golang-codereviews, gobot, iant, bradfitz
    CC=golang-codereviews
    https://golang.org/cl/72760043
    ae9b661f
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...