|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| What's 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. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
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 | ||
|
![]() |
| Thread Tools | Search this Thread |
| 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 03:14 PM |
| Want to understand the meaning of the following line | dhanamurthy | Shell Programming and Scripting | 5 | 05-24-2007 09:20 AM |
| how to comment multiple lines in unix | balireddy_77 | Shell Programming and Scripting | 3 | 02-19-2007 06:16 AM |
| remove single-line comment | Icy002 | Programming | 3 | 04-09-2006 08:30 AM |
| Need to add a comment line in a text file | orakhan | Shell Programming and Scripting | 2 | 09-22-2005 08:36 PM |
|
|