golang: tests: Factor out retrieving len(ch._recvq) and len(ch._sendq)
Chan implementation is going to be moved into C, and this way direct access to chan internals won't be possible. C implementation will export dedicated functions for chan tests which will be used. Prepare for that and factor out retrieving len of chan recv/send queues into separate functions, which will be adapted at the time of C port.
Showing
Please register or sign in to comment