摘要://///////////////////////////////////////////////////// #include <iconv.h> #include <stdlib.h> #include <stdio.h> int code_convert(char *from_charset,char *to_charset,char *inbuf,size_t inlen,char *ou
阅读全文
摘要:原文链接:https://blog.csdn.net/hhhlizhao/article/details/71552588
阅读全文
摘要:https://github.com/htesligte/QueueProcessor 例子
阅读全文
摘要:https://github.com/taf2/workq https://github.com/erez-strauss/lockfree_mpmc_queue 多生产者 多消费者 队列 <std::thread> https://github.com/limingfan2016/game_ser
阅读全文
摘要:opencv是用C++写的库,包了多种语言接口,包括C,C++,python,java等。 OpenCV 是一个开放源代码的计算机视觉库,目前在科研和开发中被广泛使用。OpenCV 由一系列 C 函数和少量 C++ 类构成,实现了图像处理和计算机视觉方面的很多通用算法。 功能涉及图像 opencv的
阅读全文
摘要:shared_ptr与weak_ptr智能指针均是C++ RAII的一种应用,可用于动态资源管理 shared_ptr基于“引用计数”模型实现,多个shared_ptr可指向同一个动态对象,并维护了一个共享的引用计数器,记录了引用同一对象的shared_ptr实例的数量。当最后一个指向动态对象的sh
阅读全文
摘要:怎么查看一个进程里fork多少个子进程 怎么查看一个进程里fork多少个子进程 怎么查看一个进程里fork多少个子进程 ? ? ?
阅读全文
摘要:https://github.com/LeandreBl/Subprocess 但是,子进程继承父进程的全局变量。子进程创建以后,可以读取原来父进程的全局变量的值。但是创建以后,子进程修改了变量,或者是父进程修改了变量值,互相都不影响了 https://www.cnblogs.com/wanghao
阅读全文
摘要:通信有没有更好的方案? 多线程 多进程 muduo evpp libevent boost.asio 集群实时kafka 消息中间件 并发 go服务器开发
阅读全文
摘要:【转】https://blog.csdn.net/dhz625/article/details/72026666
阅读全文
摘要:#include <mutex> #include <condition_variable> #include <deque> template <typename T> class BlockingQueue { public: BlockingQueue() : mutex_(), cond_(), queue_() { } BlockingQueue(const BlockingQueue&
阅读全文