Simple application of C# NamedPipe pipeline

Used for data exchange between two processes on the same computer 1. Declare the pipeline identification name serverName, and the server and client are created based on this 2. Create a server NamedPipeServerStream to obtain the reading data stream (StreamReader) and writing data stream (StreamWriter); then wait for the client to connect serverStream_m.WaitForConnection(); after the […]

Solution to “Python3.12pip network installation library file error, ssl module is unavailable”

Solution to “Python3.12pip network installation library file error, ssl module is unavailable” 1. Install the new version of openssl3.1.4 2. Install Python3.12.0 The Python version needs to match the openssl version. In versions after Python 3.7, the dependent openssl must be a version after 1.1.1 or 1.0.2, and the openssl1.0.2k installed in CentOS7 cannot meet […]

The nature of communication, communication methods, the principles and multiple characteristics of anonymous pipes (access control, pipe_buf, atomicity, half-duplex), pipe() + simulation implementation code, communication between multiple processes (anonymous pipes, simulation implementation code )

Table of Contents communication introduce Why should there be communication? the nature of communication How to communicate pipeline system V posix standard Signal pipeline introduce anonymous pipe Principle introduce process Implement — pipe() function prototype parameter return value mock code Features Used for communication between parent and child processes Provide access control When the buffer […]

Java multithreading-pipeline

Java multi-threading-pipeline 1. Brief description of the assembly line Simply put, the pipeline is to disassemble a complex and huge task into several small and simple tasks and execute them in sequence, and use the output value of the current task as the input value of the next task, through the corresponding worker threads in […]

[python\import] When importing, the local project code (library constructed with setup.py and other methods) is given priority instead of the library installed by pip || Code test

【start:20231103】 Article directory introduction Problem Description Specific case Construct your own python library Files involved in constructing the library pyproject.toml setup.py Commands involved in constructing the library `pip install -e .` `python setup.py develop` `python setup.py install` other problems Problems with linkage between construction library and importlib Practical combat: Installation of local Cellpose library Case […]

LoongArch CPU Design Experiment_Practice Task 7: Simple pipeline CPU without considering related conflict handling

Directory LoongArch CPU Design Experiment_Practice Task 7: Simple pipeline CPU without considering related conflict handling statement Experimental requirements Pipeline design ideas (no conflicts) Add cache between pipeline stages Pipeline division pipeline cache Combinational logic and sequential logic (single-cycle pipeline) Sync RAM PC data path ?Jump instruction PC register reset Handshake signals between pipeline stages Code […]