Blog

1668 articles on embedded systems, edge AI, and industrial computing · browse all

RSS

Detailed Explanation of PV Primitive Operations

#Semaphore#Work#Communication

Selecting the 3 Fastest Cows out of 38, Using a Track that Can Only Accommodate 6 Cows at a Time, Requiring the Fastest Method. (Organized)

#MathematicalComputation

Swapping Left and Right Children in a Binary Tree (Recursive and Iterative Methods)

#null#Algorithm

Four Processes A, B, C, D: A Writes to Buffer, B, C, D Read from Buffer, Implemented with P/V Operations

#c#semaphore

Reverse Linked List

#null#list#Test

The TASK_RUNNING Process Linked List in Linux

#linux#struct#list

Analysis of Linux Atomic Operations

#Linux#Assembly#Compiler

What is "asmlinkage"?

#system#assembly#function

IPC Message Queue System Call Source Code Entry Point: e.g., sys_msgsnd

#struct#user#null

Meaning of SYSCALL_DEFINE

#Assembly#User#Table

Refactoring 1: Untangling and Decomposing a Messy Inheritance Hierarchy

#Life

Meaning of `__read_mostly` Variables (LINUX)

#Linux#LinuxKernel#Cache

EXPORT_SYMBOL Meaning and Usage

#Module#Shell

Defending Coupling, Vindicating Inheritance

#DataStructures#Interface#Language

The Difference Between Aggregation and Composition

#class#Language#c

Drafting: The Minimalist Approach

#SoftwareDev

Benefits of Software Engineers' Agility

#idea#敏捷#算法

You are a Very Good Person

#Work

How Software Engineers Get Through a Difficult Afternoon (3:00 PM - 4:00 PM)

#Music#Activity

Reflections on Use Case Granularity and Function Granularity

#actor#FinanceSystem#include

VXWORKS Kernel Analysis

#Task#DataStructure#Algorithm

VxWorks Inter-task Communication Mechanisms

#Task#Semaphore#EmbeddedOS

VxWorks Message Queue Analysis and Application

#DataStructure#Task#API

VxWorks Inter-Process Communication 0 -- Task Management

#Task#TaskScheduling#Delay

VxWorks Inter-Process Communication 2 -- Semaphores

#semaphore#Task#Optimization

VxWorks Inter-Process Communication 1 - Message Queues

#buffer#Task

VxWorks Message Queue Example

#Task#Storage#Null

VxWorks Inter-Task Message Queue Communication Example

#Task#Structure#Include

The Art of Rest

#Work#Life#Activities

(Reprint) How Men Can Rest Better

#Life#Work#Activities

How Knowledge Workers Can Rest Better

#Activities#Life#Work

Virtual Functions in C++

#Function#C++#Class

C Implementation of Bitmap

#C#Null#File

Common VxWorks Commands

#Statistics#Task#Function

Summary of the Pigeonhole Principle

Question: Given positive integers a1, a2, ..., an. If (a1 + a2 + ... + an) - n + 1 pigeons are placed into n pigeonholes, then it is guaranteed that for some i, the i-th pigeonhole contains at least ai pigeons.

Prove that among any n+2 positive integers, there exist two positive integers whose difference is divisible by 2n or whose sum is divisible by 2n

#n2

break can exit while(1) and do...while() loops

The Relationship Between GPRS and TBF

#Session#Algorithm#Network

IoT and TD Achieve a Win-Win

#Network#ChinaMobile#Terminal

TD Technology Forum

How to Read Materials for Shenlun

#360#c

CNCC China National Computer Conference

#Microsoft#Phone#Event

Illustrated Explanation of Recursive Binary Tree Traversal

#Algorithm

What Role Does an Iterator Play in Programming? — A Summary

#iterator#class#algorithm

Stack vs. Heap Differences

#DataStructures#Windows#Expansion

C++ Type Casting

#C++#Class#Compiler

Summary of const Usage in C/C++

#Compiler#file#Storage

Understanding (int *)&i and int increment(int * &i)

#null#C

Pointers, References, and Handles

#Windows#Null#Storage