Latest articles
7 articles in the current browsing window, ordered by publication date.
The article examines Linux’s Completely Fair Scheduler in Android, detailing weight‑based fairness, nice‑value mapping, group scheduling via CONFIG_FAIR_GROUP_SCHED, and the resulting challenges where vruntime compensation and priority adjustments become ineffective, leading to uneven time‑slice allocation among critical and background threads.

An in‑depth investigation reveals that calling Thread.start() before setPriority() on Android can unintentionally lower the main thread’s priority and increase TimerSlack, causing sleep/wait delays, video stutter, and a major WeChat outage, with root causes traced to timing issues and WebView initialization.

This article explains the differences between user threads and daemon (background) threads in Java, demonstrates how to identify, create, and configure them—including thread pools—and discusses important considerations, priority effects, and typical use cases such as garbage collection.

This article explains Java thread fundamentals, covering thread creation, lifecycle states, priority levels, daemon threads, initialization methods, and common thread operations such as join, yield, sleep, and interrupt, with detailed code examples and diagrams.

This article explains how MySQL 8.0 Resource Groups enable fine‑grained CPU binding and thread‑priority control, provides sample SQL procedures and commands, details Linux environment setup, discusses implementation internals, outlines known limitations especially in containerized environments, and suggests practical usage scenarios.

This article explains how to create and start threads in C#, covering ThreadStart delegates, lambda expressions, passing parameters, naming threads, foreground/background distinctions, thread priority, and exception handling, with clear code examples and best‑practice recommendations.

The article explains Android’s process lifecycle and how component states translate into OOM adjustments, LowMemoryKiller levels, scheduling groups, and Linux thread priorities, detailing the mapping of importance levels to oom_score_adj, schedGroup, procState, and cgroup policies, with code examples and a bug case.

Up to 500 articles, 100 per page. The archive offers another way to explore older articles.