Changeset e0396d9 for doc/theses
- Timestamp:
- Jul 17, 2023, 4:05:00 PM (17 months ago)
- Branches:
- master
- Children:
- d5926ae
- Parents:
- 5adb277
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/colby_parsons_MMAth/text/channels.tex
r5adb277 re0396d9 107 107 Programmers use this mechanism to broadcast a sentinel value to multiple consumers. 108 108 Additionally, the @flush@ routine is more performant then looping around the @insert@ operation since it can deliver the elements without having to reacquire mutual exclusion for each element sent. 109 110 \item Go-style @?>>?@ and @?<<?@ shorthand operators for inserting and removing respectively. 111 \begin{cfa} 112 channel(int) chan; 113 int i = 2; 114 i >> chan; $\C{// insert i into chan}$ 115 i << chan; $\C{// remove element from chan into i}$ 116 \end{cfa} 109 117 \end{itemize} 110 118
Note: See TracChangeset
for help on using the changeset viewer.