Line 2238 Unix V6 Comment: You are not expected to understand this. | Unix Linux Forums | What is on Your Mind?

  Go Back    


What is on Your Mind? Come inside and relax a while. Discuss whatever is on your mind. However, technical Q&A should happen in our other forums.

Line 2238 Unix V6 Comment: You are not expected to understand this.

What is on Your Mind?


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 04-29-2009
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
 
Join Date: Sep 2000
Last Activity: 24 November 2014, 2:55 PM EST
Location: Asia pacific region
Posts: 13,026
Thanks: 522
Thanked 884 Times in 404 Posts
Line 2238 Unix V6 Comment: You are not expected to understand this.

Here is the famous line 2238 of Unix V6 which is part of some of the most delicate parts of the kernel, context switching.

This comment received huge publicity and just may be the the most famous source code comment in computing history.


Code:
2230	/*
2231	 * If the new process paused because it was
2232	 * swapped out, set the stack level to the last call
3333	 * to savu(u_ssav).  This means that the return
2235	 * actually returns from the last routine which did
2236	 * the savu.
2237	 *
2238	 * You are not expected to understand this.
2239	 */
2240	if(rp->p_flag&SSWAP) {
2241		rp->p_flag =& ~SSWAP;
2242		aretu(u.u_ssav);
2243	}

Ref: Unix Sixth Edition Kernel Source Code, Western Electric Company
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
sed/awk to insert comment at defined line number homefp Shell Programming and Scripting 8 01-18-2008 04:14 PM
Want to understand the meaning of the following line dhanamurthy Shell Programming and Scripting 5 05-24-2007 10:20 AM
how to comment multiple lines in unix balireddy_77 Shell Programming and Scripting 3 02-19-2007 07:16 AM
remove single-line comment Icy002 Programming 3 04-09-2006 09:30 AM
Need to add a comment line in a text file orakhan Shell Programming and Scripting 2 09-22-2005 09:36 PM



All times are GMT -4. The time now is 04:06 PM.