~rbn/neinp

v0.0.5 6 months ago .tar.gz browse log

Allow multiple outstanding responses

Previously, the send() goroutine would block until an executed response
handler wrote a response to the response channel. If a response handler
does not write a response to the channel immediately, e.g. because it
blocks on some sort of event, neinp would not process further messages
until this response handler unblocks. This is due to the fact that the
send goroutine would be blocked on the response channel.

This commit allows for multiple outstanding responses by executing a
separate send goroutine for each response. Additionally a mutex is
utilized to prevent concurrent writes to the socket. Response handler
error handling has also been slightly adjusted accordingly.

v0.0.4 9 months ago .tar.gz browse log

test cross os builds for plan9, openbsd and darwin

thanks qbit :)

v0.0.3 1 year, 10 months ago .tar.gz browse log

add contact to readme

v0.0.2 1 year, 10 months ago .tar.gz browse log

use custom go.rbn.im import path

v0.0.1 3 years ago .tar.gz browse log

initial commit

Branches

master
57a398f8 — Sören Tempel 6 months ago