GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Simon Tatham (simontatham@hachyderm.io)'s status on Saturday, 17-Aug-2024 22:59:16 JST Simon Tatham Simon Tatham

    If you put the same pipe on a process's stdout and stderr, you get all its output interleaved in the order it wrote it (after stdio buffering).

    If you use two pipes, you can tell which output went where.

    But what if you want separation _and_ ordering?

    You can _almost_ do it by making two AF_UNIX datagram sockets connected to the same peer. Then recvfrom() gives you a chunk of data _and_ tells you which socket it was written to.

    But you lose the ability to detect EOF, which is a show-stopper!

    In conversation about 9 months ago from hachyderm.io permalink
    • Haelwenn /элвэн/ :triskell: likes this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.