1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
<HTML>
<HEAD>
<meta name="GENERATOR" content="Microsoft Internet Assistant for PowerPoint 97">
<TITLE>Multithreaded Tcl - Event Loop</TITLE>
</HEAD>
<BODY >
<H1>Multithreaded Tcl - Event Loop</H1>
<P><UL>
<LI><H2>Finally, the event loop was modified so each thread maintains a (seemingly) independent event loop</H2>
</UL></P>
<P><UL>
2. Notifier watches files for all
</UL><UL>
threads with single select() loop</UL></P>
<P><UL>
Threads
</UL><UL>
interested
</UL><UL>
in file events:</UL></P>
<P><UL>
Other Threads</UL></P>
<P><UL>
1. Threads sends
</UL><UL>
files to watch to
</UL><UL>
Notifier and
</UL><UL>
enters condition wait...</UL></P>
<P><UL>
3) Notifier wakes up
</UL><UL>
individual threads when
</UL><UL>
file of interest is ready</UL></P>
<P></P>
<P>
<TABLE>
<TD HEIGHT=100 WIDTH=100> <A HREF="tsld025.htm">Previous slide</A> </TD>
<TD HEIGHT=100 WIDTH=100> <A HREF="tsld027.htm">Next slide</A> </TD>
<TD HEIGHT=100 WIDTH=150> <A HREF="tsld001.htm">Back to first slide</A> </TD>
<TD HEIGHT=100 WIDTH=150> <A HREF="sld026.htm">View graphic version</A> </TD>
</TABLE>
<BR>
</P>
</Body>
</HTML>
|