At the beginning of last year, there were a lot of code written in openwrt, although I felt sorry that there was a lot of code written in openwrt in the early days of the company.
Let's briefly introduce the socket multi process server on openwrt.
Look at the code
This is c language code. The code written at that time was not very good. Don' ...
Added by breath18 on Thu, 17 Feb 2022 14:27:35 +0200
First of all, we should know that node is executed by single thread, but today's computer has developed to multi-core CPU. Therefore, it has become an important problem to solve the problem of node using multi-core CPU server.
I Multi process architecture
Analysis: in master JS folder, through child_process to copy sub processes, and os to ac ...
Added by Rianna on Fri, 04 Feb 2022 05:36:00 +0200
fork system call
/* Clone the calling process, creating an exact copy.
Return -1 for errors, 0 to the new process,
and the process ID of the new process to the old process. */
extern __pid_t fork (void) __THROWNL;
Each call of this function returns twice. In the parent process, t ...
Added by brettpower on Thu, 03 Feb 2022 15:06:32 +0200
Python Simpy simulation of AGV running process
1, Achieve the purpose
simpy provides a discrete-time simulation library. I want to use this simulation library to simulate the operation process of AGV in the workshop. A simple scenario can be described as: the simulation time starts, the AGV with an initial power of a certain value starts to r ...
Added by departedmind on Mon, 31 Jan 2022 08:50:40 +0200
[linux] process control
01. Process number correlation function
Get this process number( PID)
This process number
Gets the parent process number of the process calling this function( PPID)
Added by simmsy on Sun, 30 Jan 2022 14:11:48 +0200
PV operation questions
PV operation knowledge structure
the dining philosophers problem
Have n (n)
≥ 3) philosophers sit around a round table, and each philosopher eats and thinks alternately. There is m(m) in ...
Added by olechka on Thu, 23 Dec 2021 03:57:41 +0200