aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/iomgr
Commit message (Collapse)AuthorAge
* Eliminate need for SIGPIPE handlingGravatar Craig Tiller2015-05-06
|
* Added missing profiling tags.Gravatar David Garcia Quintas2015-05-04
|
* Merge pull request #1396 from ctiller/one-readGravatar Yang Gao2015-05-04
|\ | | | | Deliver data up from tcp immediately
* \ Merge pull request #1457 from nicolasnoble/win32-fixes-once-againGravatar Craig Tiller2015-05-04
|\ \ | | | | | | Another round of win32 fixes and documentation.
* | | correct win32-related API usageGravatar zeliard2015-05-04
| | |
| * | Another round of win32 fixes and documentation.Gravatar Nicolas "Pixel" Noble2015-05-04
|/ / | | | | | | | | -) Fixed a few more (much more rare) race conditions on shutdown. -) Fixed a degenerate case if we create a server but never start it.
* | More win32 fixes + documentation.Gravatar Nicolas "Pixel" Noble2015-05-02
| | | | | | | | Fixing a very edge case where the tcp_client can crash due to race conditions on connection abortion.
* | Wave of Win32 fixes.Gravatar Nicolas "Pixel" Noble2015-05-02
| | | | | | | | | | -) tcp client and server should no longer starve waiting on orphans -) proper server shutdown sequence to prevent use-after-free.
| * Merge branch 'one-read' of github.com:ctiller/grpc into one-readGravatar Craig Tiller2015-05-01
| |\ | | | | | | | | | | | | | | | Conflicts: src/core/iomgr/tcp_posix.c src/core/profiling/basic_timers.c
| * \ Merge github.com:grpc/grpc into one-readGravatar Craig Tiller2015-05-01
| |\ \ | |/ / |/| | | | | | | | | | | Conflicts: src/core/iomgr/tcp_posix.c src/core/profiling/basic_timers.c
| | * Merge github.com:grpc/grpc into one-readGravatar Craig Tiller2015-04-30
| | |\ | |_|/ |/| |
| | * Merge github.com:grpc/grpc into one-readGravatar Craig Tiller2015-04-30
| | |\
* | | \ Merge remote-tracking branch 'upstream/master' into stapGravatar David Garcia Quintas2015-04-30
|\ \ \ \ | | |_|/ | |/| |
| * | | make initializing overlapped-struct obvious for preventing a ciritical bugGravatar zeliard2015-04-30
| | | |
* | | | 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.
| | | * Tweak commentGravatar Craig Tiller2015-04-29
| | |/
* | / 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.
| * Don't wait for EAGAIN before reporting reads upGravatar Craig Tiller2015-04-28
| |
| * Hoist iov_size into a grpc_tcp memberGravatar Craig Tiller2015-04-28
|/
* Merge pull request #1371 from wkubiak/masterGravatar Nicolas Noble2015-04-27
|\ | | | | Fix errors and warnings breaking compilation under GCC+Windows (MSYS2/MinGW)
* | Stop kicking ourselvesGravatar Craig Tiller2015-04-27
| |
| * fix comparison between pointer and integer errorGravatar wkubiak2015-04-27
| |
| * removed unused variablesGravatar wkubiak2015-04-27
|/
* partial fix for #546Gravatar Jan Tattermusch2015-04-21
|
* removed chatty log messages on windowsGravatar Jan Tattermusch2015-04-21
|
* remove nslices assertion on windowsGravatar Jan Tattermusch2015-04-21
|
* allow empty messages in gRPC on windowsGravatar Jan Tattermusch2015-04-21
|
* Fix some name choicesGravatar Vijay Pai2015-04-15
|
* Mark activation for read, write, and time spent in system callsGravatar Vijay Pai2015-04-15
|
* Merge pull request #1269 from ctiller/racefixGravatar jboeuf2015-04-13
|\ | | | | Fix race on shutdown
| * Fix race on shutdownGravatar Craig Tiller2015-04-13
| |
* | Merge github.com:grpc/grpc into windows-fixesGravatar Craig Tiller2015-04-13
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: BUILD src/core/iomgr/tcp_server.h src/core/iomgr/tcp_server_posix.c src/core/iomgr/tcp_server_windows.c src/core/security/server_secure_chttp2.c src/core/surface/completion_queue.c src/core/surface/completion_queue.h src/core/surface/server.c test/core/end2end/tests/cancel_after_invoke.c test/core/end2end/tests/cancel_test_helpers.h tools/run_tests/tests.json vsprojects/vs2013/Grpc.mak
| * Merge pull request #1016 from dklempner/no_kick_selfGravatar Nicolas Noble2015-04-10
| |\ | | | | | | Remove the current poller from the watch list to avoid immediately kicki...
* | | Make endpoint_pair_windows compile.Gravatar Craig Tiller2015-04-08
| | |
* | | Fix #ifdefGravatar Craig Tiller2015-04-08
| | |
* | | Add endpoint_pair_windows.c (never compiled)Gravatar Craig Tiller2015-04-08
| | |
| * | clang-formatGravatar Craig Tiller2015-04-07
| | |
| * | Update Windows build for interface changesGravatar Craig Tiller2015-04-07
| | |
| * | Fix server shutdownGravatar Craig Tiller2015-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | A previous fix to make close() occur later can cause socket reuse by servers to fail as previous sockets are left asynchronously open. This change: - adds a callback to TCP server shutdown to signal that the server is completely shutdown - wait for that callback before destroying listeners in the server (and before destroying the server) - handles fallout
* | | Update Windows build for interface changesGravatar Craig Tiller2015-04-07
| | |
* | | Fix server shutdownGravatar Craig Tiller2015-04-07
|/ / | | | | | | | | | | | | | | | | A previous fix to make close() occur later can cause socket reuse by servers to fail as previous sockets are left asynchronously open. This change: - adds a callback to TCP server shutdown to signal that the server is completely shutdown - wait for that callback before destroying listeners in the server (and before destroying the server) - handles fallout
* | Remove the racy check added in commit i74c14e5ac752edc7e1dc0aaf31abfd1153df1d0a.Gravatar Vijay Pai2015-04-04
| | | | | | | | | | This is potentially unsafe since checking the deadline involves more than 1 word read.
* | Add in a racy check for min deadline in run_some_expired_alarms beforeGravatar Vijay Pai2015-04-02
| | | | | | | | | | attempting the trylock. This shaves the number of g_mu and g_checker_mu uses dramatically in perf test workload and all tests still pass.
* | Various Windows fixes.Gravatar Nicolas Noble2015-03-24
| | | | | | | | | | | | -) Introduce a wait-loop with a 100ms delay on iomgr shutdown, so that background threads have the chance to place last minute callbacks without having to stall for the whole 10 seconds deadline. -) io completion ports will get notifications on socket shutdowns, so we need to delay their deletions for after we get a notification for them. -) we need to keep some sense of how many orphan sockets are in, so we can properly collect them - let's not shutdown the iocp loop until after all orphans have been collected.
* | Various Windows fixes.Gravatar Nicolas Noble2015-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | -) using dupenv_s instead of getenv_s and calling strdup ourselves. -) few impossible-to-obtain if checks. -) various signed/unsigned casting. -) using time_t instead of time32_t -) checking output of FormatMessage for failures. -) don't redefine _WIN32_WINNT without undefining it first. -) fixed msvc's interlocked casting. -) renamed AddPort to AddListeningPort. -) added protobuf's third_party includes to search path. -) added a missing definition for inet_ntop in mingw32. -) removed useless declarations.
| * Remove the current poller from the watch list to avoid immediately kicking ↵Gravatar Craig Tiller2015-03-11
| | | | | | | | it when notifying of an event
* | Add a no_barrier_load atomic operation.Gravatar David Klempner2015-03-11
|/ | | | | Use this to relax the acq_loads in some fd_posix assertions. The primary goal here is to avoid masking potential iomgr races from tsan.
* strcmp: change all !str[n]cmp to str[n]cmp == 0Gravatar Ronnie Sahlberg2015-03-07
| | | | | | | | Change all !str[n]cmp to be str[n]cmp == 0 consistently across the codebase. Issue #231 Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
* Reintroduce sleep on backup threadGravatar Craig Tiller2015-03-06
|
* Manually resolve well-known service namesGravatar Raul Silvera2015-03-04
|