| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | Simplify locking for protocols. | Garrett D'Amore | 2017-01-07 |
| | | | | | | | | | | In an attempt to simplify the protocol implementation, and hopefully track down a close related race, we've made it so that most protocols need not worry about locks, and can access the socket lock if they do need a lock. They also let the socket manage their workers, for the most part. (The req protocol is special, since it needs a top level work distributor, *and* a resender.) | ||
| * | Bunch of copyright fixes. | Garrett D'Amore | 2017-01-06 |
| | | |||
| * | Add nng_shutdown() for sockets to help avoid close race. | Garrett D'Amore | 2017-01-05 |
| | | | | | Also we added a two phase shutdown for threads. | ||
| * | Pipe simplifications for thread management. | Garrett D'Amore | 2017-01-01 |
| | | | | | | | | This may also address a race in closing down pipes. Now pipes are always registered with the socket. They also always have both a sender and receiver thread. If the protocol doesn't need one or the other, the stock thread just exits early. | ||
| * | New thread infrastructure -- not used anywhere yet, but tested. | Garrett D'Amore | 2017-01-01 |
