aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/iomgr/pollset_posix.c
Commit message (Collapse)AuthorAge
* Guard against double pollset shutdown completionGravatar Craig Tiller2015-07-06
|
* Remove return status from maybe_work.Gravatar Craig Tiller2015-06-22
| | | | | | | Since alarm checks may mutate work deadlines for pollsets, the value returned from maybe_work is meaningless. Instead, maybe pollset_work always return 1 if maybe_work is invoked, and then redo the deadline check _on the next call_ to pollset_work.
* DocsGravatar Craig Tiller2015-06-18
|
* clang-format affected filesGravatar Craig Tiller2015-06-17
|
* Be better about timeout roundingGravatar Craig Tiller2015-06-15
|
* prevent double destroy of pollsetGravatar Jan Tattermusch2015-06-10
|
* clang-formatGravatar Craig Tiller2015-06-05
|
* Bandaid over pollset promotionGravatar Craig Tiller2015-06-03
|
* Fix MSAN reported errorGravatar Craig Tiller2015-06-02
|
* Compile fixGravatar Craig Tiller2015-06-01
|
* Merge branch 'count-the-things' into we-dont-need-no-backupGravatar Craig Tiller2015-06-01
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile src/core/iomgr/pollset_posix.c src/core/surface/call.c src/core/surface/channel.c src/core/surface/server.c src/python/src/grpc/_adapter/_low_test.py tools/doxygen/Doxyfile.core.internal
* | Release all fd refs before signalling shutdownGravatar Craig Tiller2015-06-01
| |
* | fd refcount debuggingGravatar Craig Tiller2015-05-31
| |
| * removed managed closures from server.cGravatar David Garcia Quintas2015-05-31
| |
| * Comments addressed.Gravatar David Garcia Quintas2015-05-31
| |
| * Adapted the following to the new iomgr's cb API:Gravatar David Garcia Quintas2015-05-31
| | | | | | | | | | alarm_test, tcp_posix, fd_posix, pollset_posix, credentials, call, channel, server, child_channel
* | Spam cleanupGravatar Craig Tiller2015-05-29
| |
* | Reduce spamGravatar Craig Tiller2015-05-29
| |
* | Fix null derefGravatar Craig Tiller2015-05-28
| |
* | Refactor pollset_kickGravatar Craig Tiller2015-05-28
| | | | | | | | | | Allow multiple threads to be polling Remove unnecessary windows stubs
* | Add debuggingGravatar Craig Tiller2015-05-28
| |
* | clang-formatGravatar Craig Tiller2015-05-28
| |
* | Eliminate empty_pollsetGravatar Craig Tiller2015-05-28
| |
* | Empty pollset must be kickable.Gravatar Craig Tiller2015-05-28
| | | | | | | | We *may* want to merge the unary and empty cases here.
* | Add debugGravatar Craig Tiller2015-05-28
| |
* | Merge branch 'you-complete-me' into we-dont-need-no-cvGravatar Craig Tiller2015-05-28
|\ \
| * | Merge github.com:grpc/grpc into you-complete-meGravatar Craig Tiller2015-05-28
| |\|
* | | Remove condition variable from pollsetGravatar Craig Tiller2015-05-28
| | |
* | | Merge github.com:grpc/grpc into we-dont-need-no-backupGravatar Craig Tiller2015-05-28
|\ \ \ | | |/ | |/|
| * | Add commentGravatar Craig Tiller2015-05-28
| | |
| * | Merge github.com:grpc/grpc into scalable-pollGravatar Craig Tiller2015-05-28
| |\ \
* | \ \ Merge github.com:grpc/grpc into we-dont-need-no-backupGravatar Craig Tiller2015-05-26
|\ \ \ \ | | |/ / | |/| |
| * | | Workaround: Prevent threads sitting in epoll foreverGravatar Craig Tiller2015-05-26
| | | |
| | * | Merge github.com:grpc/grpc into scalable-pollGravatar Craig Tiller2015-05-24
| | |\ \ | | |/ / | |/| |
| | | * Make pollset shutdown repeatedly kick until all threads have left poll.Gravatar David Klempner2015-05-22
| | |/ | |/|
| * | Kick the tire down the road instead of blocking to free up threadsGravatar Craig Tiller2015-05-20
| | |
* | | Kick the tire down the road instead of blocking to free up threadsGravatar Craig Tiller2015-05-17
| | |
| | * More scalable unary pollingGravatar Craig Tiller2015-05-14
| |/ | | | | | | | | | | - admit only one poller for read and one for write at a time (poll is level triggered, so this avoids a thundering herd on each event) - wake only one poller when more pollers are needed, again avoiding a thundering herd
* | Add strategic unlock pointsGravatar Craig Tiller2015-05-12
| | | | | | | | To allow other threads to progress
* | Remove backup pollsetGravatar Craig Tiller2015-05-06
|/
* Merge comments. See below.Gravatar David Garcia Quintas2015-04-29
| | | | | | | | | - Added ptag ignore annotation threshold - prefixed everythig with grpc_ - removed spurious annotations in channel_create.c and client_channel.c - removed stap_probes.h (it's generated from stap_probes.d by make) - Updated Makefile and its template with the right way to generate stap probe headers from its .d definition.
* Integration of Systemtap (STAP) for profiling.Gravatar David Garcia Quintas2015-04-29
| | | | This commit includes a faulty Makefile to be fixed in a follow commit.
* Stop kicking ourselvesGravatar Craig Tiller2015-04-27
|
* Remove the current poller from the watch list to avoid immediately kicking ↵Gravatar Craig Tiller2015-03-11
| | | | it when notifying of an event
* Reintroduce sleep on backup threadGravatar Craig Tiller2015-03-06
|
* Remove some debugging logs from the unary poll promote pathGravatar David Klempner2015-03-02
| | | | I put these in while debugging correctness, and forgot to remove them.
* Add a shutdown API to pollsetGravatar David Klempner2015-02-24
| | | | | | | | This allows us to safely asynchronously add FDs in the possibly-promoting unary add case. Also fix the unary add async path to properly handle more of the extra cases it needs to handle.
* Merge branch 'master' into unary_promotion_with_concurrent_pollGravatar David Klempner2015-02-23
|\
| * Check POLLHUP, POLLERR as requiredGravatar Craig Tiller2015-02-20
| |
* | Ensure there is no concurrent poller for unary->multipollGravatar David Klempner2015-02-18
|/ | | | | | | | | | | | | The race here is: Initially unary poller has one FD, FD_1 Thread 1 adds FD_2, promoting to multipoll, entailing epoll_ctl on FD_1 and FD_2. Concurrently, Thread 2 returns from unary poll and executes one of FD_1's callbacks, which ultimately leads to a close(FD_1) which races with the epoll_ctl by thread 1. The solution is to ensure that we don't concurrently poll and promote, which requires a bit of extra care.