aboutsummaryrefslogtreecommitdiff
path: root/src/core
Commit message (Collapse)AuthorAge
...
* Make better use of enums (makes clang-format happier.)Garrett D'Amore2017-07-10
|
* Give up on uncrustify; switch to clang-format.Garrett D'Amore2017-07-10
|
* Various cleanups of unused bits.Garrett D'Amore2017-07-08
|
* SRWLocks FTW!Garrett D'Amore2017-07-07
| | | | | | | | | Modern Windows (Vista and later) have light weight Slim Read/Write locks which only occupy 64 bits, and don't require any memory allocation to create. While here clean up a few more unreferenced variables found with the Microsoft compilers.
* Start of progress on Windows. Name resolution and IOCP work begins.Garrett D'Amore2017-07-07
|
* Dead code removal (stuff for removed sync transport apis.)Garrett D'Amore2017-07-07
|
* TCP asynchronous working now.Garrett D'Amore2017-07-07
| | | | | | | | | | | | | | | | It turns out that I had to fix a number of subtle asynchronous handling bugs, but now TCP is fully asynchronous. We need to change the high-level dial and listen interfaces to be async as well. Some of the transport APIs have changed here, and I've elected to change what we expose to consumers as endpoints into seperate dialers and listeners. Under the hood they are the same, but it turns out that its helpful to know the intended use of the endpoint at initialization time. Scalability still occasionally hangs on Linux. Investigation pending.
* Fixes for async resolver, plus a test suite for it.Garrett D'Amore2017-07-06
|
* Initial swag at asynchronous name resolution.Garrett D'Amore2017-07-06
|
* Make ipc work 100% async.Garrett D'Amore2017-07-05
| | | | | | | | | | | | | | | | | | The connect & accept logic for IPC is now fully asynchronous. This will serve as a straight-forward template for TCP. Note that the upper logic still uses a thread to run this "synchronously", but that will be able to be removed once the last transport (TCP) is made fully async. The unified ipcsock is also now separated, and we anticipate being able to remove the posix_sock.c logic shortly. Separating out the endpoint logic from the pipe logic helps makes things clearer, and may faciliate a day where endpoints have multiple addresses (for example with a connect() endpoint that uses a round-robin DNS list and tries to run the entire list in parallel, stopping with the first connection made.) The platform header got a little cleanup while we were here.
* Move IPC negotiation out of connect/accept.Garrett D'Amore2017-07-05
| | | | | | This prevents a slow partner from blocking new connections from being established on the server. Before this a single partner could cause the server to block waiting to complete the negotiation.
* Return void on send & recv for transports.Garrett D'Amore2017-07-05
|
* Cleanup some unused things.Garrett D'Amore2017-07-05
|
* Improved routines for list management.Garrett D'Amore2017-07-04
|
* Rename aio functions. Enhanced epdesc_finish.Garrett D'Amore2017-07-04
|
* IPC & TCP negotiation done using aio. Remove old sync send/recv.Garrett D'Amore2017-07-03
|
* inproc transport uses aio for connect/accept.Garrett D'Amore2017-07-03
|
* Rename legacy connect/accept as _sync for now.Garrett D'Amore2017-07-03
|
* Remove the unused infinite timeout versions of msgq.Garrett D'Amore2017-07-03
|
* Delete unused msgq_notify. (We use aios instead.)Garrett D'Amore2017-07-03
|
* Use common aio cancellation.Garrett D'Amore2017-07-02
|
* More aio name cleanups.Garrett D'Amore2017-07-02
|
* Remove the extra _aio_ part of pipe send and recv functions.Garrett D'Amore2017-07-02
|
* pipe_send and recv can be void.Garrett D'Amore2017-07-02
|
* Transports allocate their pipe structures during connect & accept.Garrett D'Amore2017-07-02
|
* Begin work on async connect/accept for POSIX. Not referenced yet.Garrett D'Amore2017-06-29
|
* Use common socket handling on POSIX (tcp done, ipc pending.)Garrett D'Amore2017-06-29
|
* Pass cancel of IPC and TCP all the way down to POSIX pipedescs.Garrett D'Amore2017-06-29
|
* We don't need pipe_hold or pipe_rele anymore.Garrett D'Amore2017-06-28
|
* Refactor stop again, closing numerous races (thanks valgrind!)Garrett D'Amore2017-06-28
|
* Clean up the pipe system (no leaks).Garrett D'Amore2017-06-28
|
* Cancellation plumbing for message queues.Garrett D'Amore2017-06-27
|
* Put errors go on the putq.Garrett D'Amore2017-06-27
|
* Convert to POSIX polled I/O for async; start of cancelable aio.Garrett D'Amore2017-06-27
| | | | | | | | | | | | | | | | | | This eliminates the two threads per pipe that were being used to provide basic I/O handling, replacing them with a single global thread for now, that uses poll and nonblocking I/O. This should lead to great scalability. The infrastructure is in place to easily expand to multiple polling worker threads. Some thought needs to be given about how to scale this to engage multiple CPUs. Horizontal scaling may also shorten the poll() lists easing C10K problem. We should look into better solutions than poll() for platforms that have them (epoll on Linux, kqueue on BSD, and event ports on illumos). Note that the file descriptors start out in blocking mode for now, but then are placed into non-blocking mode. This is because the negotiation phase is not yet callback driven, and so needs to be synchronous.
* More race condition fixes.Garrett D'Amore2017-06-26
|
* Set the expiration under lock (data race).Garrett D'Amore2017-06-26
|
* Fix uninitialized use (thanks valgrind.)Garrett D'Amore2017-06-26
|
* Simplify timer locks, hopefully resolving potential deadlock.Garrett D'Amore2017-06-25
|
* Fix a few race condition panics.Garrett D'Amore2017-06-25
|
* Remove stale endpoint reap stuff. Note that req/rep fails sometimes.Garrett D'Amore2017-06-24
|
* Protocols keep their own reference counts.Garrett D'Amore2017-06-24
|
* Start undoing the recursive references -- KISS.Garrett D'Amore2017-06-22
|
* Don't acquire the lock if the endpoint isn't on a list.Garrett D'Amore2017-06-22
|
* Use ep_closed to track state (disambiguate name.)Garrett D'Amore2017-06-22
|
* Note that we have work to do to properly clean up. TBD.Garrett D'Amore2017-06-22
|
* Simplify endpoint pipe startup. Fix lost pipe on closed ep.Garrett D'Amore2017-06-22
|
* Improve debugging and eliminate dead code in objhash.Garrett D'Amore2017-06-21
|
* Make APIs for holding references more consistent.Garrett D'Amore2017-06-21
|
* Endpoint close can be moved later; add check for closed in pipe_add.Garrett D'Amore2017-06-09
|
* Eliminate idle pipe list (unused).Garrett D'Amore2017-06-09
|