مرسی از معرفی، باحال بود.
خوشحالم که پسندیدید.
گذاشتن
; در پایان هر قسمت از معرفی برای من جالب بود. شاید یه اشاره به زبان C باشه.
این ارسال هم در معرفی کتاب
lions داشتم.
از گشتن در پیوندهای اینجا به توضیح اون قسمت You are not expected to understand this
توسط خود ریچی رسیدم.
/*
* If the new process paused because it was
* swapped out, set the stack level to the last call
* to savu(u_ssav). This means that the return
* which is executed immediately after the call to aretu
* actually returns from the last routine which did
* the savu.
*
* You are not expected to understand this.
*/
if(rp->p_flag&SSWAP) {
rp->p_flag =& ~SSWAP;
aretu(u.u_ssav);
}
ماجرا به سختی پیادهسازی context-switching با اسمبلی PDP-11 در این نسخه (v6) برمیگرده مسئله با استفاده از setjump/longjump در نسخه (v7) سادهتر شده است.
و جذابتر اینکه ریچی هم گفته که جوک واقعی اینه که ما هم واقعا دلیلش را نمیدونستیم.
و اینکه کلا نظرش این بوده
UNIX is basically a simple operating system, but you have to be a genius to
understand the simplicity.
Dennis Ritchie