How does libevent choose the underlying implementation

1. Which io mode does libevent use as the underlying implementation libevent actually encapsulates many IO multiplexing modes, such as evport,select,poll,epoll,devpoll and so on. These are all I/O multiplexing modes under different operating systems. How do we know which mode we are currently using? Speaking of the underlying implementation, we ...

Posted on Thu, 01 Aug 2019 23:08:18 -0700 by irbrian

Compile and install Redis source code under CentOS6

Summary Info This article mainly introduces compiling the source code of Redis under CentOS 6.x and starting a Redis instance with background process. Download, decompress, and compile Redis source code Download Redis source code Open Redis's official website and enter the Download module: https://redis.io/download We will see: As ...

Posted on Sun, 07 Jul 2019 17:23:14 -0700 by Cognito

Skynet Server Framework (7) Calling Custom C Library in Lua

Introduction: In skynet, we usually use Lua to write business layer logic, and each function module is basically a Lua service running in sandbox. However, when we need to develop extended libraries or modules with high performance requirements, we need to consider developing a dynamic library (. so) at the C language level and providing inte ...

Posted on Thu, 27 Jun 2019 17:52:26 -0700 by hossein2kk

Detailed steps for libevent under windows

libevent is a common network library. Let's look at the process of compiling and testing under windows.   One environment System: win8.1 Compiler: VS 2008 Official Download Address: http://libevent.org/ Version: 2.0.22-stable   Bi-compiler Static Library 1 decompression Download the above to libevent-2.0.22-stable.tar.gz to extract and ge ...

Posted on Mon, 03 Jun 2019 19:01:44 -0700 by ConcreteDJ

Using php-x to develop PHP unique ID extension

date: 2017-9-17 19:48:13 title: Developing PHP unique ID extensions using php-x Unique ID related resources: daydaygo-Unique ID Generation Principle and phper's Deep Thinking Overview of distributed id generation scheme snowflake upgrade global id generation php extends the development of related resources: Xinhailong-php7 Extended Developme ...

Posted on Thu, 23 May 2019 16:59:31 -0700 by raidon

Configuration of web Services (Centos7) https

What is HTTPS Because HTTP protocol is transmitted in plaintext, the transmitted data is easy to be intercepted and leaked. In order to solve the problem that the security of HTTP can not be guaranteed in the process of transmission, https was born. https is a secure ssl encryption transmission protocol. data is encrypted before leaving th ...

Posted on Fri, 29 Mar 2019 10:18:28 -0700 by Megienos

C++ Compiler Environment MSYS2 MinGW 64-bit + Visual Studio Code under Win 7

1. MSYS2 See the sources of USTC in China for details: https://lug.ustc.edu.cn/wiki/... pacman -S mingw-w64-x86_64-toolchain 1.1 trampled pit Initial direct installation pacman -S gcc Gcc-version found that it was 7.4 instead of 8.2.After using the instructions, the version changed to 8.2. pacman -S mingw-w64-x86_64-gcc But then the gdb needs t ...

Posted on Tue, 19 Feb 2019 20:12:19 -0800 by zkoneffko

The Process of Transferring Parameters from Qualcomm Platform lcm Model to Driver through cmdline-module_param_string

Qualcomm platform passes parameters to the kernel through cmdline after the screen identified in lk 1 cat /proc/cmdline mdss_mdp.panel=1:dsi:0:qcom,mdss_dsi_nt35532_fhd_video:1:none:cfg:single_dsi 2 drivers\video\msm\mdss\Mdss_mdp.c In this function, module_param_string is used to register parameters module_param_string(panel, mdss_mdp ...

Posted on Sat, 09 Feb 2019 20:12:19 -0800 by Akito

Installing Caffe+pycaffe on Ubuntu (CPU-ONLY)

For reprinting, please indicate the source: http://blog.csdn.net/greenlight_74110/article/details/78568661 First remove anaconda: sudo rm -rf ~/anaconda2 Install boost: sudo apt-get install -y --no-install-recommends libboost-all-dev Install other dependencies: sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopen ...

Posted on Sat, 09 Feb 2019 12:21:17 -0800 by Pudgemeister

Qualcomm camera OTP bring up

Qualcomm camera OTP bring up Qualcomm camera OTP bring up 1 kernel level 11 eeprom read address size and sensor power-on timing configuration dts configuration 2 hal level 21 Add eeprom driver file 22 Configure the project platform_cameraxml file Add LOCAL_MODULE from all previous make files to the final mak ...

Posted on Sat, 09 Feb 2019 06:36:17 -0800 by v1ral