Process Management
In Chapter 6, "Native Utilities and Applications," you were introduced to the way that OS X is composed of many different cooperating processes. This is not particular to OS X, but instead is also the norm for Unix. Instead of a monolithic OS and user interface environment, Unix and (even more so) the Mach kernel on which OS X is based both operate as collections of a large number of cooperating programs. These programs create the illusion and functional experience of a seamless interface, but provide considerably more flexibility in the user's ability to modify things to suit his or her particular needs.
For example, with Mac OS, you're used to having a clock in the menu bar, and having the option to turn it on or off and perhaps set the font. This functionality is a built-in part of the OS and user interface. With Unix, if you want a clock, you run a separate program that displays a clock. Because the clock is a program and not an integral part of the OS, it can be any program. By selecting different programs, the clock can be made to appear as any type that you choose, anywhere on the screen that you choose.
It might take a while for you to come to appreciate the flexibility that this "everything is a process" idea of building operating systems provides for you. Monolithic OS and user interface environments have the advantage of being able to guide the user somewhat more strictly. They also are able to "guarantee" some types of responsiveness in ways that can't be done when all the user interface components are controlled by separate programs. Many of the things we will say are advantages of the new Unix environment—such as processes that run and provide some sort of functionality with no user interface (background processes), or programs that start at some pre-specified time—you might think are not so impressive because they were available in earlier versions of Mac OS. It is true that these advantages have been available. But as much as we love the Mac OS, we have to admit that they have been, at best, hacks; attempts to implement what you now have available to you, the Unix way of managing
ในบทที่ 6 การจัดการกระบวนการ " ติดตั้งพื้นเมืองและการประยุกต์ใช้ " แนะนำคุณวิธีการที่ OS X ประกอบด้วยหลายการประสานงานกระบวนการ นี้ไม่ได้เป็นเฉพาะกับ OS X , แต่ยังเป็นบรรทัดฐานสำหรับยูนิกซ์ แทนที่จะเป็นเสาหิน OS และสภาพแวดล้อมในส่วนติดต่อผู้ใช้ยูนิกซ์ ( ยิ่งกว่า ) เคอร์เนล Mach ที่ OS X ใช้ทั้งงานเป็นคอลเลกชันของตัวเลขขนาดใหญ่ของการประสานงานรายการ โปรแกรมเหล่านี้สร้างภาพลวงตาและประสบการณ์การทำงานของอินเตอร์เฟซที่ไม่มีรอยต่อ แต่ให้ความยืดหยุ่นมากขึ้นในความสามารถของผู้ใช้เพื่อปรับเปลี่ยนสิ่งต่าง ๆ เพื่อให้เหมาะกับความต้องการที่เฉพาะเจาะจงของเขาหรือเธอ
ตัวอย่าง กับ Mac OS ,คุณเคยมีนาฬิกาในแถบเมนู , และมีตัวเลือกเพื่อเปิดหรือปิดและการตั้งค่าแบบอักษรที่บางที ฟังก์ชันนี้เป็นส่วนหนึ่งในตัวของ OS และอินเตอร์เฟซผู้ใช้ กับ UNIX , ถ้าคุณต้องการนาฬิกา คุณเรียกใช้โปรแกรมแยกต่างหากที่แสดงนาฬิกา เพราะนาฬิกาเป็นโปรแกรม และไม่ได้เป็นส่วนหนึ่งของระบบปฏิบัติการ มันสามารถโปรแกรมใด ๆ โดยเลือกโปรแกรมที่แตกต่างกันนาฬิกาที่สามารถทำให้ปรากฏเป็นชนิดใด ๆที่คุณเลือก , ที่ใดก็ได้บนหน้าจอที่คุณเลือก .
มันอาจใช้เวลาสักครู่เพื่อให้คุณมาชื่นชมความยืดหยุ่นนี้ว่า " ทุกอย่างมีกระบวนการ " แนวคิดของการสร้างระบบปฏิบัติการที่ให้บริการสำหรับคุณ OS เสาหินและส่วนติดต่อผู้ใช้ที่สภาพแวดล้อมมีความได้เปรียบของการเป็นสามารถคู่มือผู้ใช้เพิ่มเติมค่อนข้างเคร่งครัดพวกเขายังสามารถ " รับประกัน " บางชนิดของการตอบสนองในทางที่ไม่สามารถทำเมื่อทุกองค์ประกอบอินเตอร์เฟซผู้ใช้ถูกควบคุมโดยโปรแกรมแยกต่างหาก หลายสิ่งที่เราจะพูดข้อดีของใหม่ของสิ่งแวดล้อม เช่น กระบวนการที่ใช้ และมีบางจัดเรียงของฟังก์ชั่นที่มีส่วนติดต่อผู้ใช้ ( กระบวนการพื้นหลัง )หรือโปรแกรมที่เริ่มต้นในบางก่อนระบุเวลา คุณคิดว่าไม่น่าประทับใจเพราะพวกเขามีอยู่ในรุ่นก่อนหน้าของ Mac OS มันเป็นความจริงว่า ข้อดีเหล่านี้มีพร้อมใช้งาน แต่เท่าที่เรารัก Mac OS ที่เราต้องยอมรับว่าพวกเขาได้รับ , ที่ดีที่สุด , hacks ; พยายามที่จะใช้สิ่งที่คุณมีในขณะนี้สามารถใช้ได้กับคุณ วิธีการ การจัดการ ยูนิกซ์
การแปล กรุณารอสักครู่..
