summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/syslog.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2006-08-07 14:17:05 +0000
committerglebius <glebius@FreeBSD.org>2006-08-07 14:17:05 +0000
commitb513ad862a94b8ce8b0c5db8bf4910aad6221e63 (patch)
tree2fd49f9603f6c85e9baca7a80426824c76d60251 /lib/libc/gen/syslog.c
parent76b03d4afeb02ad9c42338912a9932e7e4b5e74a (diff)
downloadFreeBSD-src-b513ad862a94b8ce8b0c5db8bf4910aad6221e63.zip
FreeBSD-src-b513ad862a94b8ce8b0c5db8bf4910aad6221e63.tar.gz
Add line edit and history support to ngctl(8) via editline(3).
Details: - The main thread runs editline(3) functions, that can block. - A separate thread is launched to monitor netgraph sockets. - The access to the descriptors is protected by a mutex. At runtime the monitoring thread owns the mutex. When the main thread reads a command from el_gets() it asks the monitoring thread to release a mutex and sleep until the main thread processes the command. This makes ngctl(8) depend on libedit, and libpthread. Thus, the new functionality isn't compiled in if release is being built with -DRELEASE_CRUNCH. PR: bin/87352 Reviewed by: ru, Nuno Antunes <nuno.antunes gmail.com>
Diffstat (limited to 'lib/libc/gen/syslog.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud