Skip to main content
Ctrl+K
Jörg Faschingbauer - Home Jörg Faschingbauer - Home
  • Training Courses
  • About
  • Blog
  • Training Courses
  • About
  • Blog

Section Navigation

  • Course Descriptions
  • Pricing, Organizational
  • Log Of Past Courses
  • Complete Slide Material
    • Linux: Introduction, Userland/Kernel Programming, Hardware/Embedded
      • Linux Basics
      • Linux Systems Programming
        • System Calls, And Error Handling
        • Files And File Descriptors
        • Processes
        • Signals
        • Event Loops
        • POSIX Threads
        • Scheduling
        • Sysprog: Events
        • Sysprog: POSIX IPC
        • mmap
        • POSIX Message Queues
        • TODO
        • Introductory Live Hacking, Hardware-Wise (sysfs GPIO)
        • Blocking I/O: What Is That?
      • SSH: Secure Shell
      • Toolchain, And Cross Development
      • Linux Hardware Interfaces
      • Linux Kernel Driver Development
      • Drafts
    • Python Programming
    • C Programming
    • C++ Programming
    • Build Tools, Unit Testing, Design, And More
  • Training Courses
  • Complete Slide Material
  • Linux: Introduction, Userland/Kernel Programming, Hardware/Embedded
  • Linux Systems Programming
  • Event Loops
  • Introduction

Introduction#

  • Refer to pictures in Pipes and Case Study: IPC (Parent/Child) Over Unnamed Pipe

../../../../../../../_images/simple-pipe.svg ../../../../../../../_images/multiple-sources.svg
  • Scenario

    • Database inserts from stdin (svnr, firstname, lastname), some c++ trickery to split. auto [svrn, firstname, lastname] = read_record();

    • SIGUSR1: commit+log+debug request asynchronously (by the auditor?)

    • SIGUSR2:

  • Start with read_record(STDIN_FILENO), and wonder how to react on signals

    • Introduction

    • Async-Signal-Safety

    • Use Case: Self-Pipe Trick

and check on EINTR?

© Copyright 2019-2025 (GPLv3), Jörg Faschingbauer.

Created using Sphinx 8.1.3.

Built with the PyData Sphinx Theme 0.16.1.

Show Source