Linux System Log

This is a note of Linux system logging mechanism.

Click Notes II - Click Script Language

The Click programming language was developed to configure Click routers, but nowadays you also can use it to write test cases for Click elements.

Click Notes I - Overview

Click is a modular router toolkit written mainly in C++, which can be run in both user space and OS kernel space. Since its invention in late 1990s by Eddie Kohler, Click is has gained great successes in both research and industry. This series of notes aims to (1)introduce Click platform, (2)analyze the implementation of Click, and (3) discuss some general problems related to Operating System and Network Programming. The Click Source code can be found here.

Building Remote+Local *nix Develop Environment(II)

This is the second article(collection) on how to build a *nix development environment by integrating remote servers and local Linux/Mac clients. For the previous article on this topic, please refer to Building Remote+Local *nix Develop Environment.

Be careful to pthread_exit() in main()

When using pthread for multithreading, most threads call pthread_exit() implicitly on return from the thread start routine. Besides, pthread_exit() also can be used to terminate the initial process thread in main(), leaving other threads to continue operation. The process will go away automatically when the last thread terminates. If you don’t care about the process exit status, or if is difficult to know the created thread IDs(e.g. created by third party APIs), you can call

Building Remote+Local *nix Develop Environment

This is the first article(collection) on how to build a *nix development environment by integrating remote servers and local Linux/Mac clients. For the following-up article on this topic, please refer to Building Remote+Local *nix Develop Environment(II).

Binary Tree Operations(IV) - Determine if a Binary Tree is a Binary Search Tree

This is the fourth article on binary tree operations. For other topics on binary tree, please refer to:

Notes of Advanced C/C++

Following are my notes of some advanced C/C++ features, which were collected from the Internet. Sharing or reposting this note is welcomed. However, there is no guarantee for the correctness of the content.

Spell Checker

1. Problem

Find The Shortest Path In Triangle Numbers

Problem