• C/C++ WebServer 3 Linux 多线程开发

    线程概述 与进程 (process)类似。线程(thread)是允许应用程序并发执行多个任务的一种机制。一个进程可以包含多个线程。同一个程序中的所有线程均会独立执行相同程序,且共享同一份全局内存区城,其中包括初始化数据段、未初始化数据段,以及堆内存段...
  • C/C++ WebServer 2 Linux 多进程开发

    进程概述进程是正在运行的程序的实例。是一个具有一定独立功能的程序关于某个数据集合的一次运行活动。它是操作系统动态执行的基本单元,在传统的操作系统中,进程既是基本的分配单元,也是基本的执行单元。程序不占CPU、Memory,进程占用CPU和Memory...
  • C/C++ WebServer 1 Linux系统编程入门

    为了软件课设来看的这门课,简介上说的是C++,但其实大多数时候还是写的C-Style的代码,这门课里讲到了进程、多线程,还有同步、异步,项目里用到了epoll。但软件课设的后端相对比较简单,也没有什么多线程的问题,唯一的要求是要用数据库,这里面还没讲...
  • Build Blog with Hexo and Github Page

    Powered by Hexo, deploied with Github Page. I first build and test on Github Codespace, but no long after, I run out of my 12...
  • LaTeX

    Primary Learning MaterialUseOSXInstall with Homebrew: 1brew install mactex which include default editor TeXShopBut it has poo...
  • Use CMake to Generate Xcode C++ Project

    What’s CMakeCMake is used to control the software compilation process using simple platform and compiler independent configur...
  • Hello World

    Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, yo...