Skip to content

Commit

Permalink
Update C++ doc
Browse files Browse the repository at this point in the history
  • Loading branch information
veblush committed Nov 14, 2019
1 parent 6518d5d commit 8fa5fcf
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion doc/core/moving-to-c++.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,19 @@ C++ compatible with
You can easily see whether PR is free from this issue by checking the result of
`Artifact Build Linux` test.
- `thread_local` is not allowed to use on Apple's products because their old OSes
(e.g. ios < 9.0) don't support `thread_local`.
(e.g. ios < 9.0) don't support `thread_local`. Please use `GPR_TLS_DECL` instead.
- gRPC main libraries (grpc, grpc+++, and plugins) cannot use following C++ libraries:
(Test and example codes are relatively free from this constraints)
- `<thread>`. Use `grpc_core::Thread`.
- `<condition_variable>`. Use `gpr_cv_init`.
- `<future>`
- `<mutex>`. Use `gpr_mu_init`.
- `<chrono>`
- `<ratio>`
- `<system_error>`
- `<filesystem>`
- `grpc_core::Atomic` is prefered over `std::atomic` in gRPC library because it provides
additional debugging information.

## Roadmap

Expand Down

0 comments on commit 8fa5fcf

Please sign in to comment.