Changeset dd3baf4


Ignore:
Timestamp:
May 30, 2023, 5:48:55 PM (11 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ast-experimental, master
Children:
b51b2a6
Parents:
2cb8bf71
Message:

missing change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/colby_parsons_MMAth/text/channels.tex

    r2cb8bf71 rdd3baf4  
    7474This approach is similar to wait morphing for locks~\cite[p.~82]{Butenhof97} and improves performance in a few ways.
    7575First, each thread interacting with the channel only acquires and releases the internal channel lock once.
    76 As a result, contention on the internal lock is decreased, threads only compete for the lock upon entry, as unblocking threads do not reacquire the lock.
     76As a result, contention on the internal lock is decreased, as only entering threads compete for the lock as unblocking threads do not reacquire the lock.
    7777The other advantage of Go's wait-morphing approach is that it eliminates the bottleneck of waiting for signalled threads to run.
    7878Note, the property of acquiring/releasing the lock only once can also be achieved with a different form of cooperation, called \Newterm{baton passing}.
Note: See TracChangeset for help on using the changeset viewer.