correct merge wsync
Vladimir Bauer
7 years ago
| 59 | 59 |
pWidth += <-ph.wsync
|
| 60 | 60 |
}
|
| 61 | 61 |
|
| 62 | |
if msgLen > pWidth {
|
| 63 | |
d.wc.wsync <- msgLen - pWidth
|
| 64 | |
} else {
|
| 65 | |
d.wc.wsync <- msgLen
|
| 66 | |
}
|
|
62 |
d.wc.wsync <- msgLen - pWidth
|
| 67 | 63 |
|
| 68 | 64 |
max := <-d.wc.wsync
|
| 69 | 65 |
if (d.wc.C & DextraSpace) != 0 {
|