Date: Thu, 30 Jan 2003 03:46:25 -0800 (PST) From: "Tim J. Robbins" <tjr@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdio gets.c Message-ID: <200301301146.h0UBkPeu077291@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
tjr 2003/01/30 03:46:25 PST Modified files: lib/libc/stdio gets.c Log: Lock stdin on entry, unlock on return, use __sgetc() instead of getchar() to avoid locking the stream for each character and to avoid input being scattered among multiple threads. Revision Changes Path 1.14 +9 -5 src/lib/libc/stdio/gets.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301301146.h0UBkPeu077291>