acadia-newlib/winsup/cygwin
Ken Brown 365818a4a5 Cygwin: FIFO: keep track of the number of readers
Add data and methods to the shared memory that keep track of the
number of open readers.

Increment this number in open, dup, fork, and exec.  Decrement it in
close.  Reset read_ready if there are no readers left.
2020-05-08 06:32:00 -04:00
..
include Cygwin: fix formatting: drop trailing whitespace 2020-03-11 13:45:58 +01:00
lib
libc Cygwin: fix formatting: drop trailing whitespace 2020-03-11 13:45:58 +01:00
math Cygwin: fix formatting: drop trailing whitespace 2020-03-11 13:45:58 +01:00
regex Cygwin: fix formatting: drop spaces leading tabs 2020-03-11 13:45:58 +01:00
release Cygwin: add release message for fixed floppy bugs 2020-04-24 16:40:25 +02:00
DevNotes
Makefile.in Cygwin: Makefile.in: add -fno-builtin-execve CFLAG when building exec.o 2020-02-26 17:03:31 +01:00
ROADMAP
aclocal.m4
advapi32.cc
aio.cc Cygwin: fix formatting: drop trailing whitespace 2020-03-11 13:45:58 +01:00
analyze_sigfe
assert.cc
autogen.sh
autoload.cc Cygwin: memory: declare extended memory API 2020-04-07 17:42:02 +02:00
automode.c
binmode.c
child_info.h
clock.cc
clock.h
collate.h
common.din Cygwin: Export newlib ndbm functions 2019-07-24 22:32:48 +02:00
config.h.in
configure
configure.ac
cpuid.h
crt0.c Cygwin: 32 bit: remove old code to 16 bit align stack 2020-02-28 15:02:09 +01:00
ctype.cc
cxx.cc
cygerrno.h
cygheap.cc Cygwin: fix formatting: collapse whitespace-only lines 2020-03-11 13:45:58 +01:00
cygheap.h
cygheap_malloc.h
cyglsa.h
cygmagic
cygmalloc.h
cygserver.h Cygwin: cygserver: drop useless packed attribute 2020-02-26 20:55:14 +01:00
cygserver_ipc.h
cygserver_msg.h
cygserver_pwdgrp.h Cygwin: fix formatting: drop spaces leading tabs 2020-03-11 13:45:58 +01:00
cygserver_sem.h
cygserver_setpwd.h
cygserver_shm.h
cygthread.cc
cygthread.h
cygtls.cc
cygtls.h Cygwin: select: revamp non-polling code for signalfd 2019-08-18 14:02:01 +02:00
cygtls_padsize.h
cygwait.cc
cygwait.h
cygwin-cxx.h
cygwin-shilka
cygwin.ldif
cygwin.sc.in
cygwin_version.h
cygxdr.cc
cygxdr.h
dcrt0.cc Cygwin: fix formatting: collapse whitespace-only lines 2020-03-11 13:45:58 +01:00
debug.cc
debug.h
devices.cc Cygwin: Provide more COM devices 2019-10-23 10:05:42 +02:00
devices.h Cygwin: devices: drop MAX_CONSOLES and fix FH_CONS_MAX 2019-11-04 10:34:59 +01:00
devices.in Cygwin: Provide more COM devices 2019-10-23 10:05:42 +02:00
dir.cc Cygwin: fix formatting: drop spaces leading tabs 2020-03-11 13:45:58 +01:00
dlfcn.cc
dll_init.cc
dll_init.h
dllfixdbg
dtable.cc Cygwin: fix formatting: drop spaces leading tabs 2020-03-11 13:45:58 +01:00
dtable.h
environ.cc Cygwin: remove CYGWIN=dos_file_warning option 2020-01-28 21:59:25 +01:00
environ.h
errno.cc
exception.h
exceptions.cc Cygwin: fix formatting: drop trailing whitespace 2020-03-11 13:45:58 +01:00
exec.cc
external.cc Cygwin: fix formatting: collapse whitespace-only lines 2020-03-11 13:45:58 +01:00
fcntl.cc Cygwin: fix formatting: collapse whitespace-only lines 2020-03-11 13:45:58 +01:00
fenv.cc Add default implementation of fenv.h and all methods 2019-08-09 17:49:16 +02:00
fhandler.cc Cygwin: file I/O: make sure to treat write return value as ssize_t 2020-04-24 16:14:43 +02:00
fhandler.h Cygwin: FIFO: keep track of the number of readers 2020-05-08 06:32:00 -04:00
fhandler_clipboard.cc
fhandler_console.cc Cygwin: console: Fix behaviour of "ESC 8" after reset. 2020-03-09 09:52:06 +01:00
fhandler_cygdrive.cc
fhandler_dev.cc
fhandler_disk_file.cc Cygwin: fix formatting: drop trailing whitespace 2020-03-11 13:45:58 +01:00
fhandler_dsp.cc
fhandler_fifo.cc Cygwin: FIFO: keep track of the number of readers 2020-05-08 06:32:00 -04:00
fhandler_floppy.cc Cygwin: raw disk I/O: lock floppys as well 2020-04-24 16:22:26 +02:00
fhandler_netdrive.cc Cygwin: fix formatting: collapse whitespace-only lines 2020-03-11 13:45:58 +01:00
fhandler_nodevice.cc
fhandler_pipe.cc
fhandler_proc.cc proc_cpuinfo: Add PPIN support for AMD 2020-04-14 12:35:51 +02:00
fhandler_process.cc Cygwin: fix formatting: drop spaces leading tabs 2020-03-11 13:45:58 +01:00
fhandler_process_fd.cc
fhandler_procnet.cc Cygwin: change virtual_ftype_t to not rely on negative values 2019-07-22 18:42:39 +02:00
fhandler_procsys.cc Cygwin: change virtual_ftype_t to not rely on negative values 2019-07-22 18:42:39 +02:00
fhandler_procsysvipc.cc Cygwin: change virtual_ftype_t to not rely on negative values 2019-07-22 18:42:39 +02:00
fhandler_random.cc
fhandler_raw.cc Cygwin: fhandler_*: remove isdevice() and is_auto_device() 2019-07-22 08:15:16 -04:00
fhandler_registry.cc Cygwin: fix one more check for positive virtual_ftype_t values 2019-07-22 14:06:35 -04:00
fhandler_serial.cc Cygwin: serial: fix GCC warning 2020-03-26 14:13:37 +01:00
fhandler_signalfd.cc Cygwin: return full sigset_t from sig_send 2019-07-12 17:27:26 +02:00
fhandler_socket.cc
fhandler_socket_inet.cc Cygwin: fix formatting: drop trailing whitespace 2020-03-11 13:45:58 +01:00
fhandler_socket_local.cc Cygwin: AF_LOCAL: fix fcntl and dup if O_PATH is set 2020-01-30 09:43:19 -05:00
fhandler_socket_unix.cc Cygwin: AF_UNIX: rework fixup_after_exec 2020-02-28 15:27:16 +01:00
fhandler_tape.cc
fhandler_termios.cc Cygwin: fix formatting: drop spaces leading tabs 2020-03-11 13:45:58 +01:00
fhandler_timerfd.cc
fhandler_tty.cc setup_pseudoconsole(): handle missing/incorrect helper gracefully 2020-05-04 11:19:19 +02:00
fhandler_virtual.cc Cygwin: change virtual_ftype_t to not rely on negative values 2019-07-22 18:42:39 +02:00
fhandler_virtual.h Cygwin: fix formatting: drop trailing whitespace 2020-03-11 13:45:58 +01:00
fhandler_windows.cc
fhandler_zero.cc
flock.cc Cygwin: fix formatting: drop spaces leading tabs 2020-03-11 13:45:58 +01:00
fork.cc Cygwin: pty: Fix state mismatch caused in mintty. 2020-02-10 10:19:38 +01:00
forkable.cc
gcrt0.c
gendef
gendevices
gentls_offsets
glob.cc
glob_pattern_p.cc
globals.cc Cygwin: remove CYGWIN=dos_file_warning option 2020-01-28 21:59:25 +01:00
gmon.c
gmon.h
grp.cc Cygwin: fix formatting: drop trailing whitespace 2020-03-11 13:45:58 +01:00
heap.cc Cygwin: Allow accessing 48 bit address space in Windows 8.1 or later 2019-06-04 16:58:53 +02:00
heap.h
hookapi.cc Cygwin: fix formatting: drop spaces leading tabs 2020-03-11 13:45:58 +01:00
how-autoload-works.txt
how-cygheap-works.txt
how-cygtls-works.txt
how-fhandlers-work.txt
how-signals-work.txt
how-spawn-works.txt
how-startup-shutdown-works.txt
how-to-debug-cygwin.txt
i686.din
init.cc Cygwin: 32 bit: remove old code to 16 bit align stack 2020-02-28 15:02:09 +01:00
ioctl.cc
ipc.cc
kernel32.cc
lc_era.h
lc_msg.h
ldap.cc
ldap.h Cygwin: fix formatting: drop trailing whitespace 2020-03-11 13:45:58 +01:00
libstdcxx_wrapper.cc
loadavg.cc
loadavg.h
localtime.cc Revert "localtime define _DIAGASSERT" and followups affecting localtime.cc 2020-05-04 11:25:30 +02:00
lsearch.cc
malloc.cc
malloc_wrapper.cc Cygwin: fix formatting: drop spaces leading tabs 2020-03-11 13:45:58 +01:00
math.h
mcount.c
mcountFunc.S
miscfuncs.cc Cygwin: threads: use extended memory API if available 2020-04-07 18:23:11 +02:00
miscfuncs.h Cygwin: fix formatting: collapse whitespace-only lines 2020-03-11 13:45:58 +01:00
mkglobals_h
mkimport
mkstatic
mktemp.cc
mkvers.sh
mmap.cc Cygwin: mmap: use extended memory API if available 2020-04-07 17:42:02 +02:00
mmap_alloc.cc Cygwin: mmap_alloc: fix comment to document using the extended memory API 2020-04-07 18:23:11 +02:00
mmap_alloc.h Cygwin: shmat: use mmap allocator strategy on 64 bit 2019-08-08 11:27:52 +02:00
mmap_helper.h
mount.cc
mount.h
msg.cc
mtinfo.h
net.cc Cygwin: fix formatting: drop trailing whitespace 2020-03-11 13:45:58 +01:00
netdb.cc
nfs.cc
nfs.h
nlsfuncs.cc Cygwin: fix formatting: drop spaces leading tabs 2020-03-11 13:45:58 +01:00
ntdll.h Cygwin: memory: declare extended memory API 2020-04-07 17:42:02 +02:00
ntea.cc Cygwin: fix formatting: drop trailing whitespace 2020-03-11 13:45:58 +01:00
ntsecapi.h
passwd.cc Cygwin: fix formatting: drop trailing whitespace 2020-03-11 13:45:58 +01:00
path.cc Cygwin: symlinks: fix WSL symlink creation if cygdrive prefix is / 2020-04-21 10:39:36 +02:00
path.h Cygwin: remove CYGWIN=dos_file_warning option 2020-01-28 21:59:25 +01:00
pathfinder.h
perprocess.h
pinfo.cc Cygwin: remove CYGWIN=dos_file_warning option 2020-01-28 21:59:25 +01:00
pinfo.h Cygwin: fix process parent/child relationship after execve 2019-11-02 19:55:24 +01:00
poll.cc
posix_ipc.cc
posix_timer.cc Cygwin: posix timers: fix uninitialized variable 2020-02-26 16:59:56 +01:00
posix_timer.h
profil.c
profil.h
pseudo-reloc.cc
pthread.cc
pwdgrp.h Cygwin: fix formatting: drop spaces leading tabs 2020-03-11 13:45:58 +01:00
quotactl.cc Cygwin: fix formatting: drop trailing whitespace 2020-03-11 13:45:58 +01:00
random.cc
registry.cc
registry.h
regparm.h
resource.cc
scandir.cc
sched.cc Cygwin: Fix return value of sched_getaffinity 2019-06-28 17:10:39 +02:00
sec_acl.cc Cygwin: get_posix_access: avoid negative subscript 2019-08-26 13:38:31 -04:00
sec_auth.cc
sec_helper.cc Cygwin: fix formatting: drop trailing whitespace 2020-03-11 13:45:58 +01:00
sec_posixacl.cc
sec_posixacl.h
security.cc Cygwin: fix formatting: drop spaces leading tabs 2020-03-11 13:45:58 +01:00
security.h Cygwin: fix formatting: collapse whitespace-only lines 2020-03-11 13:45:58 +01:00
select.cc Cygwin: FIFO: fix hit_eof 2020-05-08 06:32:00 -04:00
select.h Cygwin: serial: use per call OVERLAPPED structs 2020-03-23 21:06:03 +01:00
sem.cc
setlsapwd.cc
shared.cc
shared_info.h
shm.cc Cygwin: shmat: use mmap allocator strategy on 64 bit 2019-08-08 11:27:52 +02:00
signal.cc Cygwin: rename NSIG to _NSIG, change visibility of NSIG to MISC 2020-02-18 11:25:12 +01:00
sigproc.cc Cygwin: rename NSIG to _NSIG, change visibility of NSIG to MISC 2020-02-18 11:25:12 +01:00
sigproc.h Cygwin: rename NSIG to _NSIG, change visibility of NSIG to MISC 2020-02-18 11:25:12 +01:00
smallprint.cc Cygwin: fix formatting: drop trailing whitespace 2020-03-11 13:45:58 +01:00
sortdin
spawn.cc Cygwin: console: Add guard for set/unset xterm compatible mode. 2020-02-18 11:35:42 +01:00
speclib
spinlock.h
strace.cc Cygwin: pty: Limit API hook to the program linked with the APIs. 2019-09-04 15:59:38 +02:00
strfuncs.cc
string.h
strsep.cc Use remove-advertising-clause script to edit BSD licenses 2020-01-29 19:03:31 +01:00
strsig.cc Cygwin: rename NSIG to _NSIG, change visibility of NSIG to MISC 2020-02-18 11:25:12 +01:00
sync.cc
sync.h
syscalls.cc Cygwin: symlink/mknod: fix ACL handling 2020-01-28 17:58:06 +01:00
sysconf.cc
syslog.cc
termios.cc
textmode.c
textreadmode.c
thread.cc Cygwin: return full sigset_t from sig_send 2019-07-12 17:27:26 +02:00
thread.h
timerfd.cc Cygwin: timerfd: avoid a deadlock 2019-06-25 15:44:43 -04:00
timerfd.h Cygwin: timerfd: avoid a deadlock 2019-06-25 15:44:43 -04:00
times.cc Cygwin: fix formatting: drop spaces leading tabs 2020-03-11 13:45:58 +01:00
tls_pbuf.cc
tls_pbuf.h Cygwin: fix formatting: drop trailing whitespace 2020-03-11 13:45:58 +01:00
tlsoffsets.h Cygwin: select: revamp non-polling code for signalfd 2019-08-18 14:02:01 +02:00
tlsoffsets64.h Cygwin: select: revamp non-polling code for signalfd 2019-08-18 14:02:01 +02:00
tty.cc Cygwin: pty: Inherit typeahead data between two input pipes. 2020-02-10 10:19:38 +01:00
tty.h Cygwin: pty: Inherit typeahead data between two input pipes. 2020-02-10 10:19:38 +01:00
tz_posixrules.h
uinfo.cc Cygwin: accounts: Report unrecognized db_* nsswitch.conf keywords 2020-04-22 09:32:33 +02:00
uname.cc Cygwin: unbreak the build with GCC 7 2019-07-19 14:14:33 -04:00
update-copyright
userinfo.h
vstrlist.h
wait.cc
wchar.h
wincap.cc Cygwin: memory: declare extended memory API 2020-04-07 17:42:02 +02:00
wincap.h Cygwin: memory: declare extended memory API 2020-04-07 17:42:02 +02:00
window.cc
winf.cc
winf.h
wininfo.h
winlean.h Cygwin: memory: declare extended memory API 2020-04-07 17:42:02 +02:00
winsup.h Cygwin: drop __stdcall from close_all_files 2020-01-28 15:33:53 +01:00
winver.rc
x86_64.din