NetBSD/lib/libc/stdio
nathanw 6d30f1a3db Disable cancellation on the first lock, too, not just on internal
recursive locks (Duh).

Disable cancellation around the cond_wait() call, since that's also a
cancellation point. Arguably, that would be better handled with
pthread_cleanup_*(), but stubbing those for libc is difficult, and the
current non-exception-based implementation of cleanup handlers is
probably no faster than disabling and reenabling cancellation.
Finally, it only happens in the slow path where the thread is going to
sleep anyway...
2003-07-22 00:56:25 +00:00
..
Makefile.inc add fgetws() and fputws() (lib/20576). 2003-03-07 07:11:35 +00:00
_fseeko.c
_ftello.c
asprintf.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
clrerr.c #include "local.h" to get __flockfile_internal() prototype. 2003-07-18 21:52:16 +00:00
fclose.3 Use 2003-04-16 13:34:34 +00:00
fclose.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
fdopen.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
feof.c #include "local.h" to get __flockfile_internal() prototype. 2003-07-18 21:52:16 +00:00
ferror.3 Use 2003-04-16 13:34:34 +00:00
ferror.c #include "local.h" to get __flockfile_internal() prototype. 2003-07-18 21:52:16 +00:00
fflush.3 Use 2003-04-16 13:34:34 +00:00
fflush.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
fgetc.c #include "local.h" to get __flockfile_internal() prototype. 2003-07-18 21:52:16 +00:00
fgetln.3 Use 2003-04-16 13:34:34 +00:00
fgetln.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
fgetpos.c
fgets.3 Use 2003-04-16 13:34:34 +00:00
fgets.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
fgetwc.c add fgetws() and fputws() (lib/20576). 2003-03-07 07:11:35 +00:00
fgetws.3 add fgetws() and fputws() (lib/20576). 2003-03-07 07:11:35 +00:00
fgetws.c add fgetws() and fputws() (lib/20576). 2003-03-07 07:11:35 +00:00
fileext.h Add fields to struct __sfileext to track how many times the lock has been 2003-07-18 21:46:41 +00:00
fileno.c #include "local.h" to get __flockfile_internal() prototype. 2003-07-18 21:52:16 +00:00
findfp.c Add fields to struct __sfileext to track how many times the lock has been 2003-07-18 21:46:41 +00:00
flags.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
floatio.h
flockfile.3 Use 2003-04-16 13:34:34 +00:00
flockfile.c Disable cancellation on the first lock, too, not just on internal 2003-07-22 00:56:25 +00:00
fopen.3 Use 2003-04-16 13:34:34 +00:00
fopen.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
fparseln.3 Use 2003-04-16 13:34:34 +00:00
fparseln.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
fprintf.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
fpurge.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
fputc.c #include "local.h" to get __flockfile_internal() prototype. 2003-07-18 21:52:16 +00:00
fputs.3 Use 2003-04-16 13:34:34 +00:00
fputs.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
fputwc.c add fgetws() and fputws() (lib/20576). 2003-03-07 07:11:35 +00:00
fputws.3 add fgetws() and fputws() (lib/20576). 2003-03-07 07:11:35 +00:00
fputws.c add fgetws() and fputws() (lib/20576). 2003-03-07 07:11:35 +00:00
fread.3 Use 2003-04-16 13:34:34 +00:00
fread.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
freopen.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
fscanf.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
fseek.3 Use 2003-04-16 13:34:34 +00:00
fseek.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
fseeko.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
fsetpos.c
ftell.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
ftello.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
funopen.3 Use 2003-04-16 13:34:34 +00:00
funopen.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
fvwrite.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
fvwrite.h Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
fwalk.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
fwide.3 Use 2003-04-16 13:34:34 +00:00
fwide.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
fwrite.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
getc.3 Use 2003-04-16 13:34:34 +00:00
getc.c #include "local.h" to get __flockfile_internal() prototype. 2003-07-18 21:52:16 +00:00
getchar.c #include "local.h" to get __flockfile_internal() prototype. 2003-07-18 21:52:16 +00:00
gets.c #include "local.h" to get __flockfile_internal() prototype. 2003-07-18 21:52:16 +00:00
gettemp.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
getw.c
getwc.3 Use 2003-04-16 13:34:34 +00:00
getwc.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
getwchar.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
glue.h
local.h Move guts of flockfile()/funlockfile() to __flockfile_internal(), which 2003-07-18 21:50:41 +00:00
makebuf.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
mkdtemp.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
mkstemp.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
mktemp.3 Misc. fixes from jmc@openbsd. 2003-05-03 19:43:00 +00:00
mktemp.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
perror.3 Use 2003-04-16 13:34:34 +00:00
perror.c
printf.3 Drop trailing space. 2003-05-11 16:21:18 +00:00
printf.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
putc.3 Use 2003-04-16 13:34:34 +00:00
putc.c #include "local.h" to get __flockfile_internal() prototype. 2003-07-18 21:52:16 +00:00
putchar.c #include "local.h" to get __flockfile_internal() prototype. 2003-07-18 21:52:16 +00:00
puts.c #include "local.h" to get __flockfile_internal() prototype. 2003-07-18 21:52:16 +00:00
putw.c #include "local.h" to get __flockfile_internal() prototype. 2003-07-18 21:52:16 +00:00
putwc.3 Use 2003-04-16 13:34:34 +00:00
putwc.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
putwchar.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
refill.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
remove.3 Use 2003-04-16 13:34:34 +00:00
remove.c
rewind.c #include "local.h" to get __flockfile_internal() prototype. 2003-07-18 21:52:16 +00:00
rget.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
scanf.3 Use 2003-04-16 13:34:34 +00:00
scanf.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
setbuf.3 Use 2003-04-16 13:34:34 +00:00
setbuf.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
setbuffer.c
setvbuf.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
snprintf.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
sprintf.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
sscanf.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
stdio.3 Use 2003-04-16 13:34:34 +00:00
stdio.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
tempnam.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
tmpfile.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
tmpnam.3 Use 2003-04-16 13:34:34 +00:00
tmpnam.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
ungetc.3 Use 2003-04-16 13:34:34 +00:00
ungetc.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
ungetwc.3 Use 2003-04-16 13:34:34 +00:00
ungetwc.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
vasprintf.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
vfprintf.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
vfscanf.c Fix handing of -ve hexadecimal numbers in the %i format. Fixes 2003-05-27 14:32:29 +00:00
vprintf.c
vscanf.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
vsnprintf.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
vsprintf.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
vsscanf.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
wbuf.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
wcio.h Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00
wsetup.c Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00