aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/iomgr/fd_posix_test.c
Commit message (Collapse)AuthorAge
* Merge github.com:grpc/grpc into cleaner-posix2Gravatar Craig Tiller2016-03-31
|\
| * Update copyrightsGravatar Craig Tiller2016-03-31
| |
* | Merge github.com:grpc/grpc into cleaner-posix2Gravatar Craig Tiller2016-03-28
|\|
| * Fix includesGravatar Craig Tiller2016-03-25
| |
| * Revert "Revert "Add an implementation firewall against pollset_set""Gravatar Craig Tiller2016-02-25
| |
| * Revert "Add an implementation firewall against pollset_set"Gravatar Vijay Pai2016-02-25
| |
* | Merge branch 'hide-the-pollset-set' into cleaner-posix2Gravatar Craig Tiller2016-02-25
|\|
| * Change pollset mutex ownershipGravatar Craig Tiller2016-02-25
| |
* | Make out private bits privateGravatar Craig Tiller2016-02-25
| |
* | Merge branch 'hide-the-pollset' into cleaner-posix2Gravatar Craig Tiller2016-02-22
|\|
| * Provide an interface firewall between pollset and its implementationsGravatar Craig Tiller2016-02-19
| | | | | | | | | | | | | | Starting to allow for >1 implementation of pollset within a binary. Do so without requiring an extra allocation for completion queues (which we could not tolerate).
| * Move worker into pollsetGravatar Craig Tiller2016-02-18
| |
* | Moving fd code into ev codeGravatar Craig Tiller2016-02-16
|/
* Update copyrightsGravatar Craig Tiller2016-01-28
|
* Preparatory changes for work sheddingGravatar Craig Tiller2016-01-28
| | | | | | | | - cleanup: change grpc_iomgr_cb_func to take a bool instead of int success - cleanup: follow through with iomgr callback scheduling functions - prepare: add a workqueue to offload to to grpc_exec_ctx_enqueue* functions
* Eliminate gpr_ int types - and insist on C99 variants insteadGravatar Craig Tiller2015-12-22
|
* update apiGravatar yang-g2015-12-01
|
* Release fd apiGravatar yang-g2015-11-30
|
* Finish cleanupGravatar Craig Tiller2015-09-22
|
* clang-format all core filesGravatar Craig Tiller2015-09-22
|
* Move argument passing to start of listGravatar Craig Tiller2015-09-22
|
* Rename initGravatar Craig Tiller2015-09-22
|
* Rename runGravatar Craig Tiller2015-09-22
|
* Move argument passing to start of listGravatar Craig Tiller2015-09-22
|
* Move arguments to the start of listsGravatar Craig Tiller2015-09-22
|
* indent pass to get logical source lines on one physical lineGravatar Craig Tiller2015-09-22
|
* Rename call_list to closure_listGravatar Craig Tiller2015-09-22
|
* Call list progressGravatar Craig Tiller2015-09-21
|
* CleanupGravatar Craig Tiller2015-09-18
|
* Getting stuff workingGravatar Craig Tiller2015-09-16
|
* Tests compileGravatar Craig Tiller2015-09-16
|
* Enable -WconversionGravatar Craig Tiller2015-09-10
|
* First round of fixing up implicit 64->32 bit conversionsGravatar Craig Tiller2015-09-10
|
* Add a test of non-blocking API behaviorGravatar Craig Tiller2015-08-06
| | | | ... also fix things that were broken :)
* Allow specific pollers to be wokenGravatar Craig Tiller2015-07-29
| | | | | | | | | | | | | | | | | | | Currently, if two threads call grpc_completion_queue_pluck on the same completion queue for different tags, there is a 50% chance that we deliver the completion wakeup to the wrong poller - forcing the correct poller to wait until its polling times out before it can return an event up to the application. This change tweaks our polling interfaces so that we can indeed wake a specific poller. Nothing has been performance tuned yet. It's definitely sub-optimal in a number of places. Wakeup file-descriptors should be recycled. We should have a path that avoids calling poll() followed by epoll(). We can probably live without it right at the second though. This code will fail on Windows at least (I'll do that port when I'm in the office and have a Windows machine).
* Move alarm subsystem to monotonic timeGravatar Craig Tiller2015-07-19
|
* Introduce a clock type field onto gpr_timespec.Gravatar Craig Tiller2015-07-13
| | | | | Use it to validate that arithmetic on time types makes even some vague kind of sense.
* clang-format affected filesGravatar Craig Tiller2015-06-17
|
* Fix threading problem on early orphaningGravatar Craig Tiller2015-06-02
|
* Fix TSAN reported errorsGravatar Craig Tiller2015-06-01
|
* Merge branch 'count-the-things' into we-dont-need-no-backupGravatar Craig Tiller2015-06-01
|\
| * Label all iomgr objectsGravatar Craig Tiller2015-06-01
| | | | | | | | | | This allows a list of them to be dumped to isolate where memory leaks are occuring.
* | Port fd_posix_test to pollsetsGravatar Craig Tiller2015-05-13
|/
* Fix a TSAN reported errorGravatar Craig Tiller2015-02-18
| | | | | | | | | | We now pass down pointers to closures instead of (callback, arg) pair elements separately. This allows us to store one word atomically, fixing a race condition. All call sites have been updated to the new API. No new allocations are incurred. grpc_fd_state is deleted to avoid any temptation to ever add anything there again.
* Add missing new-lines at end of fileGravatar Craig Tiller2015-02-18
|
* Update copyright to 2015Gravatar Craig Tiller2015-02-18
|
* Bugfix connection code in testGravatar Craig Tiller2015-01-21
|
* () --> (void)Gravatar Craig Tiller2015-01-15
|
* Remove libevent.Gravatar ctiller2015-01-09
| | | | | | | | | | | | | | | | | | | | | | | Fixed any exposed bugs across the stack. Add a poll() based implementation. Heavily leverages pollset infrastructure to allow small polls to be the norm. Exposes a mechanism to plug in epoll/kqueue for platforms where we have them. Simplify iomgr callbacks to return one bit of success or failure (instead of the multi valued result that was mostly unused previously). This will ease the burden on new implementations, and the previous system provided no real value anyway. Removed timeouts on endpoint read/write routines. This simplifies porting burden by providing a more orthogonal interface, and the functionality can always be replicated when desired by using an alarm combined with endpoint_shutdown. I'm fairly certain we ended up with this interface because it was convenient to do from libevent. Things that need attention still: - adding an fd to a pollset is O(n^2) - but this is probably ok given that we'll not use this for multipolling once platform specific implementations are added. - we rely on the backup poller too often - especially for SSL handshakes and for client connection establishment we should have a better mechanism ([] [] - Linux needs to use epoll for multiple fds, FreeBSD variants (including Darwin) need to use kqueue. ([] [] - Linux needs to use eventfd for poll kicking. ([] Change on 2015/01/07 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83461069
* Add a --forever flag, to continuously run tests as things change.Gravatar ctiller2015-01-09
| | | | | | | Change on 2015/01/07 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83451760