summaryrefslogtreecommitdiff
path: root/hurd/glibc/internals.mdwn
blob: 897da92edd3798fe2ed69c83952219f5c771e709 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[[!meta copyright="Copyright © 2009 Free Software Foundation, Inc."]]

[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
id="license" text="Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no Invariant
Sections, no Front-Cover Texts, and no Back-Cover Texts.  A copy of the license
is included in the section entitled [[GNU Free Documentation
License|/fdl]]."]]"""]]

Some bits about this, some bits about that.

# Controlling TTY

Hurd controlling tty behavior is generally consistent with BSD's, including
`TIOCSCTTY`.  Linux also has `TIOCSCTTY` and it is harmless to use it there.
But BSD and Hurd never do an implicit `TIOCSCTTY` (hence our `O_NOCTTY` is
zero).

C.f. <http://lists.gnu.org/archive/html/bug-hurd/2009-10/msg00030.html> and the
following messages.

# Sinals

[[Unix]] signals are implemented in glibc.

In every process, signals are handled in a separate signal thread.

    [Why does kill hang sometimes?]
    <youpi> kill send the signal to the process
    <youpi> if the process is hung, killing waits
    <youpi> signals should be just asynchronous, but apparently for some reason
      Roland & co wanted some syunchronization

[[!taglink open_issue_glibc]]