Code Examples
from
Chapter 18
Multi-Threaded Object-Oriented Programming

of
Programming with Objects




NOTE: Browsers generally have difficulty displaying source code files in
their raw form.  A browser may also gratuitously enclose a raw source
code file within html tags for the purpose of display.  So it is best to
right-click on the items listed below and to then click on the "save
link as" or the "save target as" menu item for directly transferring the
file to your local disk.



ThreadsBasic.java


ThreadsBasicWithJoin.java



ThreadsBasicWithRunnable.java



UnsynchedSwaps.java



UnsynchedFileIO.java



SynchedSwaps.java



SynchedFileIO.java



MultiCustomerAccount.java



InterThreadIO.java



Animator.html



Animator.java



EventThreadDemo.java



EventThreadDemo2.java



ThreadBasic.c



ThreadBasicWithJoin.c



UnsynchedSwaps.c



SynchedSwaps.c



MultiCustomerAccount.c



HelloThreadWithJoin.cc



SynchedSwaps.cc



MultiCustomerAccount.cc



Back to the home page for Programming with Objects