Warren Sheaffer's Library tagged → View Popular
Javanotes 5.1, Chapter 11 -- Files and Networking
Material for our last week of the course online
Javanotes 5.1, Chapter 6 -- Introduction to GUI Programming
Good material for the final exam review
Javanotes 5.1, Section 5.1 -- Objects, Instance Methods, and Instance Variables
"std = new Student(); // Create a new object belonging // to the class Student, and // store a reference to that // object in the variable std."
-
Object-oriented programming (OOP) represents an
attempt to make programs more closely model the way people think about and deal
with the world. In the older styles of programming, a programmer who is faced
with some problem must identify a computing task that needs to be performed in
order to solve the problem. Programming then consists of finding a sequence of
instructions that will accomplish that task. But at the heart of
object-oriented programming, instead of tasks we find objects -- entities that
have behaviors, that hold information, and that can interact with one another.
Programming consists of designing a set of objects that somehow model the
problem at hand. Software objects in the program can represent real or abstract
entities in the problem domain. This is supposed to make the design of the
program more natural and hence easier to get right and easier to
understand. -
Objects are closely related to classes. We have already been working with
classes for several chapters, and we have seen that a class can contain
variables and subroutines. If an object is also a collection of variables and
subroutines, how do they differ from classes? And why does it require a
different type of thinking to understand and use them effectively? In the one
section where we worked with objects rather than classes,
Section 3.8, it didn't seem to make much difference: We
just left the word "static" out of the subroutine definitions! - 4 more annotations...
Chapter 3 Developing Phase: Process and Thread Management
-
-
Creating a New Process
-
Replacing a Process Image (exec)
-
Retrieving Process Information
-
Waiting for a Spawned Process
-
Processes vs. Threads
-
Managing Process Resource Limits
-
Limiting File I/O When Using Windows
-
Process Accounting
-
Managing and Scheduling Processes
The following sections discuss the following process management topics that need to be considered for migration:
-
-
-
Creating a Thread
-
Canceling a Thread
-
Synchronization of Threads
-
Thread Attributes
-
Thread Scheduling and Prioritizing
-
Managing Multiple Threads
-
I/O Completion Ports
Thread Management
This section introduces the concept of threads. The following sections discuss the similarities and differences between UNIX and Windows APIs in managing threads:
A thread is an independent path of execution in a process that shares the address space, code, and global data of the process. Time slices are allocated to each thread based on priority. Threads consist of an independent set of registers, stack, I/O handles, and message queue.
-
NTFS.com FAT32 File System Specifications. Documentation.
-



NTFS.com ©1998-2009
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script><script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script>
<script type="text/javascript">
try {var pageTracker = _gat._getTracker("UA-202618-5");pageTracker._trackPageview();} catch(err) {}
</script>
Selected Tags
Top Contributors
Groups interested in no_tag
-
Erotica
Items: 40 | Visits: 3367
Created by: Ainis
-
Digital Citizenship/Cyberbullying Video Clips
Items: 27 | Visits: 2047
Created by: Anne Bubnic
-
Web 2.0 Tools
Items: 10 | Visits: 892
Created by: Claire Miller
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo