上一页 1 2 3 4 5 6 7 ··· 9 下一页

2015年11月6日

Operating System: Three Easy Pieces --- Why It Gets Worse: Shared Data (Note)

摘要: The simple thread example we showed above was useful in showing how threads arecreated and how they can run in different orders depending on how the s... 阅读全文

posted @ 2015-11-06 13:43 Persistence 阅读(172) 评论(0) 推荐(0)

2015年11月5日

Operating System: Three Easy Pieces ---An Example: Thread Creation (Note)

摘要: Let's say we wanted to run a program that created two threads, each of which was doingsome independently work, in this case printing "A" or "B". The c... 阅读全文

posted @ 2015-11-05 13:32 Persistence 阅读(135) 评论(0) 推荐(0)

ULK --- Chap3 Processes: Process Descriptor Handling

摘要: Processes are dynamic entities whose lifetimes range from a few milliseconds to months. Thus, thekernel must be able to handle many processes at the s... 阅读全文

posted @ 2015-11-05 08:38 Persistence 阅读(140) 评论(0) 推荐(0)

ULK --- Chap3 Processes: Identifying a Process

摘要: As a general rule, each execution context that can be independently scheduled must have its ownprocess descriptor; therefore, even lightweight process... 阅读全文

posted @ 2015-11-05 06:18 Persistence 阅读(182) 评论(0) 推荐(0)

ULK --- Chap3 Processes

摘要: The concept of a process is fundamental to any multiprogramming operating system. A processis usually defined as an instance of a program in execution... 阅读全文

posted @ 2015-11-05 01:48 Persistence 阅读(837) 评论(0) 推荐(0)

2015年11月4日

Operating System: Three Easy Pieces --- Concurrency: An Introduction (Note)

摘要: Thus far, we have seen the development of the basic abstractions that the OS performs. We haveseen how to take a single physical CPU and turn it into ... 阅读全文

posted @ 2015-11-04 22:57 Persistence 阅读(139) 评论(0) 推荐(0)

2015年11月3日

Operating System: Three Easy Pieces --- Concurrent Linked Lists (Note)

摘要: We next examine a more complicated structure, the linked list. Let's start with a basic approachonce again. For simplicity, we will omit some of the o... 阅读全文

posted @ 2015-11-03 13:42 Persistence 阅读(154) 评论(0) 推荐(0)

Operating System: Three Easy Pieces --- Lock Concurrent Data Structures (Note)

摘要: Before moving beyong locks, we will first describe how to use locks in some common datastructures. Adding locks to a data structure to make it usable ... 阅读全文

posted @ 2015-11-03 06:51 Persistence 阅读(524) 评论(0) 推荐(0)

2015年10月28日

Quote comes from C. Joybell C.

摘要: The only way that we can live is if we grow; the only way we can grow is if we change;the only way we can change is if we learn; the only way we can l... 阅读全文

posted @ 2015-10-28 04:09 Persistence 阅读(158) 评论(0) 推荐(0)

2015年10月27日

Operating System: Three Easy Pieces --- LDE (Note)

摘要: ASIDE: Why System Calls Look Like Procedure Calls?You may wonder why a call to a system call, such as open() or read() looks exactly likea typical pro... 阅读全文

posted @ 2015-10-27 12:30 Persistence 阅读(244) 评论(0) 推荐(0)

2015年10月26日

Operating System: Three Easy Pieces --- Pthread Locks (Note)

摘要: The name that the POSIX library uses for a lock is a mutex, as it is used to provide mutualexclusion between threads, i.e., if one thread is in the cr... 阅读全文

posted @ 2015-10-26 12:02 Persistence 阅读(119) 评论(0) 推荐(0)

Operating System: Three Easy Pieces --- Locks (Note)

摘要: From the introduction to concurrency, we saw one of the fundamental problems in concurrentprogramming: we would like to execute a series of instructio... 阅读全文

posted @ 2015-10-26 11:52 Persistence 阅读(161) 评论(0) 推荐(0)

2015年10月20日

Modern Operating System --- Multiple Processor Systems

摘要: Since its inception, the computer industry has been driven by an endless quest for moreand more computing power. The ENIAC could perform 300 operation... 阅读全文

posted @ 2015-10-20 12:32 Persistence 阅读(141) 评论(0) 推荐(0)

2015年10月17日

Modern Operating System --- Power Management (CPU)

摘要: The CPU can also be managed to save energy. A notebook CPU can be put to sleep in software, reducingpower usage to almost zero. The only thing it can ... 阅读全文

posted @ 2015-10-17 05:34 Persistence 阅读(207) 评论(0) 推荐(0)

Modern Operating System --- Power Management (Hard Disk)

摘要: Another major villain is the hard disk. It takes substantial energy to keep it spinning at highspeed, even if there are no accesses. Many conputers, e... 阅读全文

posted @ 2015-10-17 05:04 Persistence 阅读(163) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 ··· 9 下一页

导航