Code Examples
from
Chapter 14
 
Multithreaded Scripting
of the book
 Scripting with Objects 
by
Avinash Kak
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.
Deadlock.pl
InterferenceAnyway.pl
MultiCustomerAccount.pl
MultiCustomerAccount.py
NoInterferenceWithSemaphores.pl
NoInterferenceWithSemaphores.py
NoThreadInterference.pl
NoThreadInterference.py
PerformanceWithThreads.pl
SharedData.pl
ShuttingOutThreadsDemo.py
ThreadCooperationWithSleep.pl
ThreadCooperationWithSleep.py
ThreadedShuffle.py
ThreadInterference.pl
ThreadInterference.py
ThreadsBasic.pl
ThreadsBasic1.py
ThreadsBasic2.py
ThreadsBasicWithJoin.pl
ThreadsBasicWithJoin.py
ThreadsReturningData.pl