Craig Tiller
5dc3b30964
Progress on splitting things up
10 years ago
Craig Tiller
d20efd26e3
Progress on splitting things up
10 years ago
Craig Tiller
d8df50c44f
Make some buckets to pour code into
10 years ago
Craig Tiller
4152706dee
Add file to build.json
10 years ago
Yang Gao
9e640c8064
Remove non-existing file from build.json
10 years ago
David Garcia Quintas
59f905d79a
Changes to byte_buffer based on comments.
10 years ago
Craig Tiller
0c1d27833e
Refactor pollset_kick
...
Allow multiple threads to be polling
Remove unnecessary windows stubs
10 years ago
Alistair Veitch
9686dabd04
Initial refactoring and context API changes
10 years ago
Nicolas "Pixel" Noble
946e1a52c9
Actually removing grpc_http.h from build.json.
10 years ago
Craig Tiller
b7cf08ff73
Initial pollset_set design sketch
10 years ago
David Garcia Quintas
8954e90b72
Integration of Systemtap (STAP) for profiling.
...
This commit includes a faulty Makefile to be fixed in a follow commit.
10 years ago
Nicolas "Pixel" Noble
5fb4ba0adb
Updating the templates to create win64 projects.
10 years ago
zeliard
292adfee5d
fix MSVC solution build-able on x64 mode (remove _USE_32BIT_TIME_T)
10 years ago
Jan Tattermusch
f6f6fdb49f
start using grpc.dependencies.openssl and grpc.dependencies.zlib nuget packages
10 years ago
Jan Tattermusch
8ff00a3c25
big refactoring of visual studio projects, started using nuget
...
dependencies.
10 years ago
Craig Tiller
6902ad2e9c
Switching to batch oriented metadata passing
10 years ago
Vijay Pai
a45c93e243
Visual Studio build files
10 years ago
Craig Tiller
b25c90dbf4
Add endpoint_pair_windows.c
10 years ago
Nicolas "Pixel" Noble
710b6a4ae2
Added a few more missing files and re-generated project files.
10 years ago
Nicolas "Pixel" Noble
51f5b91715
Adding missing public files to build.json, and re-generating all project files.
10 years ago
murgatroid99
d47946be2a
Added batch GRPC_TRACE option to trace calls to grpc_call_start_batch
10 years ago
Craig Tiller
faa8480a39
Tracer registration.
...
First: ugh.
Second: allow tracer global variables to be registered and then parsed out of a configuration environment variable.
Expose TSI trace config variable directly to ease this a little.
10 years ago
Craig Tiller
42bc87c097
Update C++ server with new core API
...
And reflects the C++ API in ServerBuilder.
10 years ago
Nicolas "Pixel" Noble
94964fd0b2
Fixing Windows port.
10 years ago
Nicolas "Pixel" Noble
dda049ce18
Various MacOS build fixes.
...
-) Secure files shouldn't be in the base grpc.
-) grpc++ depends on gpr.
-) grpc++ depends on protobuf (!)
10 years ago
Craig Tiller
6e7c62285c
Add a facility to control tracing without recompiling
...
This will help greatly when it comes to diagnosing customer issues.
10 years ago
Craig Tiller
35108f6527
Allow grpc_init to be called multiple times
10 years ago
Craig Tiller
1fe817fffd
Run build cleaner
10 years ago
Jan Tattermusch
f6ff8f6fcf
remove _shared suffix from target dll names
10 years ago
Jan Tattermusch
92e2e3f55e
some VS project template fixes and added templates for grpc_csharp_ext
10 years ago
Jan Tattermusch
9e1d446ff3
some VS project template fixes and added templates for grpc_csharp_ext
10 years ago
David Klempner
baced4def0
Epoll based multipoller
...
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.
10 years ago
Nicolas Noble
45e67a37ae
Addressing comments.
10 years ago
Nicolas "Pixel" Noble
0f3ec82238
Adding Windows tcp server code.
10 years ago
Craig Tiller
ea61b07800
Updated the first test (which fails)
10 years ago
Nicolas "Pixel" Noble
21f627ad0a
First draft of the win32 implementation of iomgr.
...
Caveats:
-) The win32 pollset isn't threadsafe (yet).
-) Only client code is implemented.
-) Only very simple code has been tested with it yet.
10 years ago
Craig Tiller
fef766933e
Back-end for new core API
10 years ago
Craig Tiller
5350c2e703
Clean build file, regen projects
10 years ago
Craig Tiller
4450db2ac9
Add bbq
10 years ago
David Klempner
8bfbc88d5f
Rename wakeup_fd.[hc] to wakeup_fd_posix.[hc]
...
Fix the transitive closure of this change, including reintroducing
pollset_kick_posix/windows where the latter is just a stub.
10 years ago
Nicolas Noble
e04455a7ff
Addressing comments.
10 years ago
David Klempner
78dc6cdaeb
Refactor the pipe/eventfd abstraction
...
This introduces the wakeup fd interface, corresponding approximately to
the existing Google version, complete with a ported giant detailed usage
comment.
The implementation has two layers, "specialized" and "fallback". The
specialized layer is intended to be a suitable platform specific
implementation like eventfd, whereas "fallback" is probably pipe, with
runtime detection of whether the specialized version works on this
system (currently stubbed out).
10 years ago
Nicolas "Pixel" Noble
d5a9985522
Fixing a few winsocket misuses.
10 years ago
Nicolas Noble
614c2bf99b
Replacing cJSON with our own code instead.
10 years ago
David Klempner
dbb4f942d0
Add support for eventfd based kicking on linux.
...
This adds support for eventfd based kicking, with the skeleton of
support for runtime selection between eventfds and pipes.
10 years ago
Craig Tiller
6a6e4a1370
Build projects
10 years ago
Craig Tiller
d14a1a5f04
Disable compilation of some files
...
They're not needed on Windows
10 years ago
Craig Tiller
e1addfee06
Build projects
10 years ago
Craig Tiller
17ec5f9ebf
Run buildgen
10 years ago
David Klempner
7f3ed1eda1
Factor out the pollset kicking mechanism and eliminate sharding
...
This change pulls out a separate pollset_kick module, which currently
uses a freelist of pipes dynamically assigned to pollsets when they
enter polling rather than the previous racy sharding mechanism.
We ultimately may wish to eliminate the dynamic assignment for multipoll
sets, but this should be sufficient for the moment.
10 years ago