Make uxterm.o state thread-local.
authorMatt Birkholz <puck@birchwood-abbey.net>
Sat, 25 Jul 2015 21:48:52 +0000 (14:48 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Thu, 26 Nov 2015 08:09:47 +0000 (01:09 -0700)
commitf4b545b3ff3aacf50f6c1e6d2e1a0d42ed0a5e8e
tree508761d021cba10bd5031da58752cf33ef871b95
parente6e5e5f99244c712497a81015e0937f328d26014
Make uxterm.o state thread-local.

Make the static slave_name buffer auto.  Use ptsname_r instead of
ptsname.  (terminal_table et al are already used serially because of
the runtime system's use of the open-channels gc-finalizer.)
src/microcode/ospty.h
src/microcode/prospty.c
src/microcode/uxterm.c