forked from jshiffer/go-xmpp
your #1 source of programming antipatterns
f6a9836fdf
Avoids a global mutex which could end up unexpectedly blocking a separate client. For example, if there were a client with few messages and a client with many messages, the client with few could hold the lock waiting for a token blocking the client with many from receiving. |
||
---|---|---|
_example | ||
.travis.yml | ||
go.mod | ||
go.sum | ||
LICENSE | ||
README.md | ||
xmpp_avatar.go | ||
xmpp_disco.go | ||
xmpp_information_query.go | ||
xmpp_muc.go | ||
xmpp_ping.go | ||
xmpp_pubsub.go | ||
xmpp_subscription.go | ||
xmpp_test.go | ||
xmpp.go |