What are the mechanisms, differences and meanings of mutually exclusive access to Linux multithreaded global variables?

Write before: Why write this article, I began to understand these three quantities very hard, gnawed for a long time "Modern Operating System", also read a lot of blogs, and finally a little experience.This article is based on that brick book and some blogs, with a personal summary and underst ...

Posted by SsirhC on Wed, 24 Jun 2020 18:49:52 -0700

Basic management of devices in Linux

Experimental environment: This experiment deliberately turned off graphics mode Use init 3 command to turn off graphics mode, ctrl+alt F3 enter no graphics mode Start network configuration: Mount: 1. Partition Partition method: Bit Partition Table Size Payment Number of Partitions S ...

Posted by lynncrystal on Wed, 24 Jun 2020 18:29:39 -0700

ftp upload tool download, ftp upload tool download tutorial, how to regularly back up files to ftp server?

Introduction to ftp transmission tools iis7 service management tool is a powerful FTP software with excellent interactive interface and powerful functions. It supports FTP functions such as regular upload and download, regular backup, automatic update, batch upload and download, FTP multi site management, online editing, etc. At the same time, ...

Posted by genix2011 on Tue, 23 Jun 2020 20:56:08 -0700

Go cli Daily Library

Introduction to ## cli Is a library for building command line programs.We've previously described a library for building command line programs cobra .Functionally, they are similar, and cobra has the advantage of providing a scaffold for easy development.cli is very simple, all initialization is to create oneCli.AppThe object of the structure.A ...

Posted by printf on Tue, 23 Jun 2020 17:14:20 -0700

010.OpenShift comprehensive experiment and Application

Experiment 1 install OpenShift 1.1 preparation [student@workstation ~]$ lab review-install setup 1.2 configuration planning OpenShift cluster has three nodes: master.lab.example.com: the OpenShift master node is a node that cannot be scheduled for pod. node1.lab.example.com : an OpenShift node that can run applications and infrastructure pod s ...

Posted by jmcc on Mon, 22 Jun 2020 20:48:05 -0700

Solutions to the problem of wifi equipment not working properly after the upgrade of centos 7.5

Yesterday, I ran yum upgrade on the mini computer centos 7.5, which I just got. After restarting, I found that wifi can't connect to the Internet, so I studied it. First, use the ip addr command to view the list of available network devices. If there is no wifi device, you can only see the lo device and two wired network cards: [root@localhost ...

Posted by d401tq on Sun, 21 Jun 2020 20:12:04 -0700

Tensorflow2 Custom Dataset Pictures Complete Picture Classification Task

For image tasks of custom datasets, the general process is generally divided into the following steps: Load data Train-Val-Test Build model Transfer Learning Most of the energy will be spent on data preparation and preprocessing. This paper uses a more general data processing method, and builds a simple model, a deeper resnet ...

Posted by angershallreign on Sun, 21 Jun 2020 17:17:49 -0700

Design and Implementation of Linux Kernel Chapter 6 Kernel Data Structure

Article Directory 1. Chain List Chain lists in the Linux kernel are special list_entry, container_of and offsetof macros An example illustrates `offsetof` and `container_of`Macro Operations on linked lists 1. Create a list of chains 2. Add Node to Chain List 3. Delete Nodes 4. Move merge nodes 5. D ...

Posted by Seol on Fri, 19 Jun 2020 18:25:09 -0700

Kernel list_for_each_safe use

I'm a beginner. I've been learning the course of national inlay. I used to take notes on the book. Today I learned the kernel list. The teacher left a small problem. I did it myself. It's my experience You must not laugh The source program is as follows: #include <linux/kernel.h> #include < ...

Posted by nonphixion on Fri, 19 Jun 2020 04:00:00 -0700

docker basic common commands (all)

System and information of docker I use: [root@VM_0_10_centos ~]# uname -r #View kernel 3.10.0-862.el7.x86_64 [root@VM_0_10_centos ~]# cat /etc/os-release #View system version and other information NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME=" ...

Posted by coverman on Thu, 18 Jun 2020 20:29:05 -0700