| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | Notification working - separate thread now. | Garrett D'Amore | 2017-03-11 |
| | | |||
| * | Removing some dead code. | Garrett D'Amore | 2017-03-11 |
| | | |||
| * | Surveyor pattern callback-driven. | Garrett D'Amore | 2017-03-10 |
| | | |||
| * | Race condition fixes in pub/sub. | Garrett D'Amore | 2017-03-10 |
| | | |||
| * | Eliminate per-socket workers. | Garrett D'Amore | 2017-03-10 |
| | | |||
| * | Good-bye reaper thread. | Garrett D'Amore | 2017-03-10 |
| | | |||
| * | Pipeline is now race free (and simpler to boot!) | Garrett D'Amore | 2017-03-10 |
| | | |||
| * | Bus protocol close races fixed. | Garrett D'Amore | 2017-03-10 |
| | | |||
| * | Start of close related race fixes. Scalability test. | Garrett D'Amore | 2017-03-10 |
| | | |||
| * | Req/Rep now callback driven. | Garrett D'Amore | 2017-03-07 |
| | | |||
| * | Initial work on REP callback handling. | Garrett D'Amore | 2017-03-06 |
| | | |||
| * | Pub/Sub now callback driven. | Garrett D'Amore | 2017-03-06 |
| | | |||
| * | Pair protocol now callback driven. | Garrett D'Amore | 2017-03-06 |
| | | |||
| * | Bus protocol now callback-driven. | Garrett D'Amore | 2017-03-05 |
| | | |||
| * | Pipeline protocol now entirely callback driven. | Garrett D'Amore | 2017-03-04 |
| | | |||
| * | Timer implementation. Operations can timeout now? | Garrett D'Amore | 2017-03-03 |
| | | |||
| * | Start of msgq aio. | Garrett D'Amore | 2017-03-01 |
| | | |||
| * | Async I/O for POSIX implemented using threads (untested.) | Garrett D'Amore | 2017-02-24 |
| | | |||
| * | Rename ioev to aio. Eliminate generic cancel handling (not needed). | Garrett D'Amore | 2017-02-23 |
| | | | | | | | | | We will still need some kind of specific handling of cancellation for msg queues, but it will be simpler to just implement that for the queues, and not worry about cancellation in the general case around poll etc. (The low level poll and I/O routines will get notified by their underlying transport pipes/descriptors closing.) | ||
| * | Introduce new generic I/O event framework. | Garrett D'Amore | 2017-02-19 |
| | | |||
| * | Introduce new NNG_ECANCELED errno. | Garrett D'Amore | 2017-02-19 |
| | | |||
| * | Taskq implementation. | Garrett D'Amore | 2017-02-18 |
| | | |||
| * | Fix trailing comment.threaded | Garrett D'Amore | 2017-02-18 |
| | | |||
| * | We don't need putback on message queues after all. | Garrett D'Amore | 2017-02-18 |
| | | |||
| * | Add device support & testing. Bus semantic fix. | Garrett D'Amore | 2017-01-27 |
| | | | | | | | | | | | | This adds nn_device and nng_device. There were some internal changes required to fix shutdown / close issues. Note that we shut down the sockets when exiting from device -- this is required to make both threads see the failure and bail, since we are not using a single event loop. I also noticed that the bus protocol had a bug where it would send messages back to the originator. This was specifically tested for in the compat_device test, and we have fixed it. | ||
| * | Fix bug that prevents threads from starting if waited on too soon. | Garrett D'Amore | 2017-01-26 |
| | | | | | | | | This is partly caused by a race, but also an incorrect boolean short-circuit that I had not reasoned about properly. Mostly changing the boolean order fixes the condition, so that we prefer to start than to stop, if both are set. | ||
| * | Fixes for BUS protocol in compat, test suite, and timing in compat tests. | Garrett D'Amore | 2017-01-26 |
| | | |||
| * | Fix bug in test code for thread_destroy. | Garrett D'Amore | 2017-01-26 |
| | | |||
| * | Added more plumbing to facilitate test writing & compatibility. | Garrett D'Amore | 2017-01-26 |
| | | | | | | | Also, while here fixed a bug for the PAIR protocol in compat mode. It should now be possible to import more of the nanomsg tests directly with little or no modification. | ||
| * | Fix for SunOS/illumos. | Garrett D'Amore | 2017-01-25 |
| | | |||
| * | Add endpoint tuning of maxrcv size. Fix cmsg API. | Garrett D'Amore | 2017-01-24 |
| | | | | | | | | | | | | | | | The CMSG handling was completely borked. This is fixed now, and we stash the SP header size (ugh) in the CMSG contents to match what nanomsg does. We now pass the cmsg validation test. We also fixed handling of certain endpoint-related options, so that endpoints can get options from the socket at initialization time. This required a minor change to the transport API for endpoints. Finally, we fixed a critical fault in the REP handling of RAW sockets, which caused them to always return NNG_ESTATE in all cases. It should now honor the actual socket option. | ||
| * | Add nni_ep_hold, nni_ep_hold_close, nni_ep_rele, nng_endpoint_close. | Garrett D'Amore | 2017-01-24 |
| | | |||
| * | Implement reconnect timer including backoff. | Garrett D'Amore | 2017-01-24 |
| | | | | | This allows us to enable the last test case for compat_reqrep. | ||
| * | Added a bunch more compatibility stuff. | Garrett D'Amore | 2017-01-23 |
| | | | | | | | | | I implemented the reqrep compatibility test, which uncovered a few semantic issues I had in the REQ/REP protocol, which I've fixed. There are still missing things. and at least one portion of the req/rep test suite cannot be enabled until I add tuning of the reconnect timeout, which is currently way too long (1 sec) for the test suite to work. | ||
| * | Add nn_sendmsg (with NN_MSG support). | Garrett D'Amore | 2017-01-23 |
| | | |||
| * | nn_recvmsg, and enhancements to support NN_MSG allocated messages. | Garrett D'Amore | 2017-01-23 |
| | | |||
| * | Use nng_msg underneath (less copying!) | Garrett D'Amore | 2017-01-23 |
| | | |||
| * | Initial start of compat layer with bind, connect, etc. Untested. | Garrett D'Amore | 2017-01-22 |
| | | |||
| * | Start on compat stuff. | Garrett D'Amore | 2017-01-22 |
| | | |||
| * | Event notification via pollable FDs verified working. | Garrett D'Amore | 2017-01-22 |
| | | |||
| * | Whoops, forgot to add the pipe implementations to git!! | Garrett D'Amore | 2017-01-21 |
| | | |||
| * | Adds NNG_OPT_SENDFD and NNG_OPT_RECVFD socket options (untested). | Garrett D'Amore | 2017-01-21 |
| | | |||
| * | Uncrustify last couple sets of changes. | Garrett D'Amore | 2017-01-21 |
| | | |||
| * | Added protocol flags (which ones can send, and which can receive). | Garrett D'Amore | 2017-01-21 |
| | | |||
| * | Initial swag at notification pipes (not used yet). | Garrett D'Amore | 2017-01-21 |
| | | |||
| * | Fix compilation warnings found on Windows. | Garrett D'Amore | 2017-01-21 |
| | | |||
| * | Fix leaks in bus, socket leaks, tighten up close-side refcnting. | Garrett D'Amore | 2017-01-21 |
| | | | | | | | | | | | | | | | This does a few things. First it closes some preexisting leaks. Second it tightens the overall close logic so that we automatically discard idhash resources (while keeping numeric values for next id etc. around) when the last socket is closed. This then eliminates the need for applications to ever explicitly terminate resources. It turns out platform-specific resources established at nni_init() time might still be leaked, but it's also the case that we now no longer dynamically allocate anything at platform initialization time. (This presumes that the platform doesn't do so under the hood when creating critical sections or mutexes for example.) | ||
| * | Resolve deadlock during close. | Garrett D'Amore | 2017-01-21 |
| | | |||
| * | Add more platforms (the *BSDs, SunOS/illumos) and update docs slightly. | Garrett D'Amore | 2017-01-21 |
| | | |||
| * | Implement nng_send and nng_recv convenience routines. | Garrett D'Amore | 2017-01-21 |
| | | |||
