From mboxrd@z Thu Jan 1 00:00:00 1970 From: dave@horsfall.org (Dave Horsfall) Date: Tue, 22 May 2012 17:35:10 +1000 (EST) Subject: [TUHS] Oldest Unix source code still in modern systems In-Reply-To: <1337616921.5781.YahooMailClassic@web184718.mail.ne1.yahoo.com> References: <1337616921.5781.YahooMailClassic@web184718.mail.ne1.yahoo.com> Message-ID: On Mon, 21 May 2012, Michael Davidson wrote: > /* > * you are not expected to understand this. > */ Line 2238, of course :-) For any youngsters here, that code is *subtle*. Vale, both DMR and Dr John Lions (my lecturer at UNSW). > That would certainly still be appropriate for the Linux context switch > code which, last time I looked, was a horrible mess of gcc "asm" > constructs glued together with C preprocessor macros. Typical Penguin/OS. I am in stitches. > The comment that I miss most, however, is: > > /* > * printf should not be used for chit chat > */ My favourite too :-) We ended up implementing the call via the TTY interface, so that our 11/40 would not be brought to her knees. -- Dave