aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/iomgr
Commit message (Collapse)AuthorAge
...
* Merge github.com:grpc/grpc into c++apiGravatar Craig Tiller2015-02-17
|\
| * UDS FixGravatar Craig Tiller2015-02-17
| | | | | | | | Remove existing UDS listeners IFF they are a socket before trying to create a new socket.
| * Add missing refGravatar Craig Tiller2015-02-17
| | | | | | | | | | This prevents a bug whereby not all fds were destroyed at application exit.
| * Add checking on fd_posix refcountsGravatar Craig Tiller2015-02-17
| |
* | Merge github.com:grpc/grpc into c++apiGravatar Craig Tiller2015-02-17
|\|
| * Fix aliasingGravatar Craig Tiller2015-02-17
| |
* | Merge github.com:grpc/grpc into c++apiGravatar Craig Tiller2015-02-17
|\| | | | | | | | | Conflicts: Makefile
* | Merge github.com:grpc/grpc into c++apiGravatar Craig Tiller2015-02-16
|\ \
| | * Merge github.com:grpc/grpc into udsGravatar Craig Tiller2015-02-16
| | |\ | | |/ | |/|
| | * clang-formatGravatar Craig Tiller2015-02-13
| | |
| | * Unix domain socket supportGravatar Craig Tiller2015-02-13
| | |
| * | Cleaning up our posix definition / usage.Gravatar Nicolas "Pixel" Noble2015-02-14
| |/ | | | | | | | | | | | | -) Let's not use _POSIX_SOURCE. It usually implies too much C99. _BSD_SOURCE would be the right thing to do here. -) _BSD_SOURCE is getting deprecated by glibc, so we also have to define _DEFAULT_SOURCE under Linux. -) accept4 and eventfd arn't as old as we may think; let's detect for it. -) stdint.h interferes with all these definitions if included too early; let's move it down.
* / Multi-completion-queue-serverGravatar Craig Tiller2015-02-12
|/ | | | | | Allow binding a different completion queue to each registered method. This will allow multiplexing for the C++ server between sync & async methods more easily.
* Destroy the wakeup fd in the right functionGravatar David Klempner2015-02-11
|
* Clean up the epoll wakeup fd too.Gravatar David Klempner2015-02-11
|
* Address pull request thread commentsGravatar David Klempner2015-02-11
| | | | | | | 1. Close the epoll_fd at destroy 2. Finish the comment about signal/broadcast on the cv 3. Rename GPR_POSIX_MULTIPOLL_WITH_EPOLL to GPR_LINUX_MULTIPOLL_WITH_EPOLL
* Remove now unnecessary check that incoming epoll fds are not orphanedGravatar David Klempner2015-02-11
|
* Merge branch 'master' into epollGravatar David Klempner2015-02-11
|\
| * Merge pull request #448 from nicolasnoble/grpc-win32Gravatar Craig Tiller2015-02-11
| |\ | | | | | | Windows port of iomgr.
* | | Epoll based multipollerGravatar David Klempner2015-02-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a multipoller based on epoll rather than poll. Note that this implementation is aimed at correctness rather than performance, although it should immediately have better scalability to large numbers of FDs, both due to epoll's O(1) sized API and due to not needing to wake up polling threads to do interest set changes. One notable difference here is that we directly attach a wakeup fd rather than using the freelisting kick mechanism that the poll() based implementations use, because modifying the epoll set to use a different kick fd each time isn't free.
| * | Have unary pollset check to see if the existing fd is orphanedGravatar David Klempner2015-02-10
|/ / | | | | | | | | | | | | This avoids an unnecessary upgrade to multipoller if there was no do_work called between an orphan and a subsequent add. Additionally, it avoids the need for epoll based multipoller to check for this case in its upgrade code by ensuring all existing fds are valid at upgrade time.
| * Rewording comment :-)Gravatar Nicolas "Pixel" Noble2015-02-10
| |
| * Merge cleanup.Gravatar Nicolas Noble2015-02-09
| |
| * Merge branch 'master' of github.com:google/grpc into grpc-win32Gravatar Nicolas "Pixel" Noble2015-02-10
| |\
| * | Addressing comments.Gravatar Nicolas Noble2015-02-10
| | |
* | | Reduce contention on lockGravatar Craig Tiller2015-02-09
| |/ |/| | | | | Change the fd watcher from being O(active_pollers) to O(1), reducing time spent under the fd->watcher_mu lock, and ultimately scaling us much better.
* | Move pollset_kick wfd creation/destruction out of freelist lockGravatar David Klempner2015-02-05
| | | | | | | | | | This was an observed source of contention at higher thread counts where we could overrun the freelist cap.
| * Adding Windows tcp server code.Gravatar Nicolas "Pixel" Noble2015-02-05
| |
* | Go one further.Gravatar Craig Tiller2015-02-04
| | | | | | | | There's no need for this branch at all.
* | Respecify our way out of some very high contentionGravatar Craig Tiller2015-02-04
| | | | | | | | Theres no need for every thread to exit polling early if an alarm might finish, so there's no need to contend here.
* | Merge pull request #396 from dklempner/source_cleanupGravatar Craig Tiller2015-02-04
|\ \ | | | | | | Fix up feature test macros
| | * Fixing bad copy/paste.Gravatar Nicolas "Pixel" Noble2015-02-05
| | |
| | * Merge branch 'master' of github.com:google/grpc into grpc-win32Gravatar Nicolas "Pixel" Noble2015-02-04
| | |\ | | | | | | | | | | | | | | | | Conflicts: include/grpc/support/time_win32.h
| | * | Second draft of the win32 implementation.Gravatar Nicolas "Pixel" Noble2015-02-04
| | | | | | | | | | | | | | | | | | | | -) Client code is now threadsafe. -) The echo_client code runs and succeeds.
| * | | Fix up feature test macrosGravatar David Klempner2015-02-04
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | Move all feature test macros to the start of the file and check that they aren't already defined or defined to a lower value than the file needs. Projects should be allowed to put these in CFLAGS and we shouldn't break when they do.
* | | Merge github.com:google/grpc into async-apiGravatar Craig Tiller2015-02-03
|\| |
| * | Adding another condition variable to fix the iomgr shutdown issue.Gravatar Nicolas "Pixel" Noble2015-02-04
| | |
| | * First draft of the win32 implementation of iomgr.Gravatar Nicolas "Pixel" Noble2015-02-04
| | | | | | | | | | | | | | | | | | | | | Caveats: -) The win32 pollset isn't threadsafe (yet). -) Only client code is implemented. -) Only very simple code has been tested with it yet.
| * | Fixing potential hitch in iomgr shutdown.Gravatar Nicolas "Pixel" Noble2015-02-04
| |/ | | | | | | The background_callback_executor may sit on the condition as well. If we're not broadcasting the condition, it may eat the condition signal, and starve the shutdown sequence of it.
* | Merge github.com:google/grpc into async-apiGravatar Craig Tiller2015-02-02
|\|
| * Fix link errorGravatar Craig Tiller2015-02-02
| |
* | Merge github.com:google/grpc into async-apiGravatar Craig Tiller2015-02-02
|\|
| * Merge pull request #306 from nicolasnoble/wakeup-fd-fixGravatar David Klempner2015-02-02
| |\ | | | | | | Properly selecting chunks of code for the wakeup fd codepath.
| | * Removing comment.Gravatar Nicolas "Pixel" Noble2015-02-02
| | |
| * | Fix poll_kick_posix_test under asanGravatar David Klempner2015-02-02
| | | | | | | | | | | | | | | 1. Init the freelist_mu in the forced-fallback path 2. Free allocated memory in the test_over_free test case.
* | | Merge github.com:google/grpc into async-apiGravatar Craig Tiller2015-02-02
|\| |
| * | Merge pull request #302 from ctiller/pollsetGravatar David Klempner2015-02-02
| |\ \ | | | | | | | | Fix some TSAN reported errors
| * | | Initialize mutexGravatar Craig Tiller2015-02-02
| | | |
| | | * Make _posix usage match 'the rules'Gravatar Craig Tiller2015-02-02
| | | | | | | | | | | | | | | | Also fix log_posix to get things compiling.
| | * | Expanded commentGravatar Craig Tiller2015-01-31
| | | |