Tagged articles
10 articles
Page 1 of 1
php Courses
php Courses
Jan 19, 2026 · Backend Development

Mastering PHP Multithreading Error Handling with pthreads

This guide explains how to install the pthreads extension for PHP and presents three practical techniques—try‑catch with throwable propagation, shared‑memory error variables, and file‑based logging—to reliably capture and manage errors in multithreaded PHP applications.

Error Handlingmultithreadingpthreads
0 likes · 5 min read
Mastering PHP Multithreading Error Handling with pthreads
Liangxu Linux
Liangxu Linux
Dec 2, 2024 · Backend Development

Build a Minimal C Thread Pool on Linux – Full Code Walkthrough

This article presents a compact C thread‑pool implementation for Linux using POSIX pthreads, explains the core data structures and functions, shows how to create, enqueue tasks, and destroy the pool, and includes a runnable demo with annotated source code.

Linuxpthreadsthread pool
0 likes · 7 min read
Build a Minimal C Thread Pool on Linux – Full Code Walkthrough
php Courses
php Courses
Dec 5, 2023 · Backend Development

Error Handling in PHP Multithreaded Programming with pthreads

This article explains how to install the pthreads extension for PHP and demonstrates three approaches—try‑catch blocks, shared variables, and logging—to capture and propagate errors from worker threads back to the main thread, ensuring stable multithreaded applications.

Backendmultithreadingpthreads
0 likes · 5 min read
Error Handling in PHP Multithreaded Programming with pthreads
Liangxu Linux
Liangxu Linux
Aug 8, 2023 · Fundamentals

Mastering Pthreads: Complete Guide to Thread Creation, Sync, and Management on Linux

This article explains why traditional Unix fork/exec models are costly, introduces POSIX threads (Pthreads) as a lightweight alternative, and provides detailed guidance on thread data structures, creation, termination, synchronization primitives, and attribute configuration with practical code examples for Linux developers.

Synchronizationconcurrencymultithreading
0 likes · 20 min read
Mastering Pthreads: Complete Guide to Thread Creation, Sync, and Management on Linux
MaGe Linux Operations
MaGe Linux Operations
Jul 28, 2023 · Fundamentals

Mastering POSIX Threads in Linux: A Complete Guide to Pthreads

This article explains the limitations of the traditional Unix fork model, introduces POSIX threads as lightweight processes, details their data structures, core functions, creation, termination, synchronization primitives, attributes, and provides extensive C code examples for practical multithreaded programming on Linux.

C programmingPOSIXpthreads
0 likes · 22 min read
Mastering POSIX Threads in Linux: A Complete Guide to Pthreads
Yiche Technology
Yiche Technology
Jan 27, 2022 · Backend Development

C++ Multithreaded Service Architecture for High‑Throughput AI Inference

The article explains how to design a C++‑based multithreaded service that uses Pthreads, channels, and TensorRT to parallelize deep‑learning inference tasks, thereby reducing latency and dramatically increasing throughput for AI applications such as facial‑recognition access control systems.

AI inferenceCTensorRT
0 likes · 11 min read
C++ Multithreaded Service Architecture for High‑Throughput AI Inference
360 Quality & Efficiency
360 Quality & Efficiency
Jan 4, 2019 · Backend Development

Improving addComment API Performance with Asynchronous Email Sending Using PHP pthreads

The article explains how a slow addComment API caused by a synchronous email‑sending step was optimized by converting the email operation to an asynchronous task using PHP's pthreads extension, detailing the problem analysis, installation of pthreads on Windows, configuration changes, and a working test example.

multithreadingpthreads
0 likes · 6 min read
Improving addComment API Performance with Asynchronous Email Sending Using PHP pthreads
UC Tech Team
UC Tech Team
Oct 30, 2018 · Frontend Development

Enabling WebAssembly Threads with Pthreads in Chrome via Origin Trials

This article explains how to compile C/C++ code to WebAssembly with pthread support, run multithreaded WebAssembly modules in Chrome using Origin Trials, and provides step‑by‑step instructions, example code, and configuration details for developers.

ChromeEmscriptenThreads
0 likes · 8 min read
Enabling WebAssembly Threads with Pthreads in Chrome via Origin Trials