File: tsld026.htm

package info (click to toggle)
aolserver4 4.0.10-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 10,980 kB
  • ctags: 14,068
  • sloc: ansic: 39,138; tcl: 3,233; sh: 2,703; makefile: 255; php: 13
file content (56 lines) | stat: -rw-r--r-- 1,193 bytes parent folder | download | duplicates (8)
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>