Skip to content

Instantly share code, notes, and snippets.

View ppLorins's full-sized avatar
🎯
Focusing

arthur ppLorins

🎯
Focusing
  • Tencent
  • ShenZhen,China
View GitHub Profile
@ppLorins
ppLorins / greeter_async_client2.cc
Created July 19, 2019 09:37
an example for grpc async c++ client
/*
*
* Copyright 2015 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
@ppLorins
ppLorins / proxy_adventurer.cc
Created October 21, 2019 08:12
grpc broadcasting pattern memory leak(c++)
#include <memory>
#include <iostream>
#include <string>
#include <thread>
#include <vector>
#include <list>
#include <random>
#include <atomic>
#include <memory>
#include <iostream>
#include <string>
#include <thread>
#include <vector>
#include <list>
#include <random>
#include <atomic>