Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /sml/trunk/src/cml/doc/ML-Doc/porting.mldoc
ViewVC logotype

Annotation of /sml/trunk/src/cml/doc/ML-Doc/porting.mldoc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 107 - (view) (download)

1 : monnier 7 <!-- porting.mldoc -->
2 :    
3 :     <!DOCTYPE ML-DOC SYSTEM>
4 :    
5 : monnier 106 <COPYRIGHT OWNER="Bell Labs, Lucent Technologies" YEAR=1998>
6 : monnier 7 <COPYRIGHT OWNER="AT&AMP;T Bell Laboratories" YEAR=1995>
7 :     <VERSION VERID="1.0" YEAR=1995 MONTH=11 DAY=16>
8 :     <TITLE>Porting old programs</TITLE>
9 :    
10 : monnier 106 <SECTION>
11 : monnier 7 <HEAD>Porting old CML programs</HEAD>
12 :    
13 :     <PP>
14 :     There have been substantial changes from version&nbsp;0.9.8 of &CML;.
15 :     Most of these changes are cosmetic name changes meant to track
16 :     changes in the &SML; interfaces, and to rationalize naming conventions.
17 :     In this section, we detail the changes to the &CML; interfaces, and
18 :     describe correspondence between the old and new interfaces.
19 :    
20 : monnier 106 <SECTION>
21 : monnier 7 <HEAD>Backwards compatibility modules</HEAD>
22 :     <PP>
23 :     To ease the transition from version&nbsp;0.9.8 of &CML; to the new
24 :     interfaces, we provide two backwards compatibility modules in the
25 :     &CML; Library.
26 : monnier 106 </SECTION>
27 : monnier 7
28 : monnier 106 <SECTION>
29 : monnier 7 <HEAD>Name changes</HEAD>
30 :     <PP>
31 :     <TABLE>
32 :     <COL ALIGN=LEFT> <COL ALIGN=LEFT>
33 :     <TR><TH ALIGN=CENTER>Old name <TH ALIGN=CENTER>New name
34 :     <TR><TD><IDREF/accept/ <TD><VALREF STRID="CML"/recv/
35 :     <TR><TD><IDREF/receive/ <TD><VALREF STRID="CML"/recvEvt/
36 :     <TR><TD><IDREF/transmit/ <TD><VALREF STRID="CML"/sendEvt/
37 :     <TR><TD><IDREF/timout/ <TD><VALREF STRID="CML"/timeOutEvt/
38 :     <TR><TD><IDREF/waitUntil/ <TD><VALREF STRID="CML"/atTimeEvt/
39 :     <TR><TD><IDREF/threadWait/ <TD><VALREF STRID="CML"/joinEvt/
40 :     <TR><TD><IDREF/sameThread/ <TD><VALREF STRID="CML"/sameTid/
41 :     </TABLE>
42 : monnier 106 </SECTION>
43 : monnier 7
44 : monnier 106 <SECTION>
45 : monnier 7 <HEAD>Input/output</HEAD>
46 :     <PP>
47 :     The most significant changes to the &CML; interfaces have to do with
48 :     input/output operations.
49 :     In version&nbsp;0.9.8, the structure <IDREF/CIO/ provided an implementation
50 :     of the &SMLNJ; <IDREF/IO/ signature extended with event-valued operations.
51 :     The old &SML; I/O interface has been replaced with a new interface, which is
52 :     described in the <DOCREF DOCUMENT=SML-BASIS-DOC/&SML; Basis Library Manual/,
53 :     and &CML; has followed suite.
54 : monnier 106 </SECTION>
55 : monnier 7
56 : monnier 106 <SECTION>
57 : monnier 7 <HEAD>Condition variables</HEAD>
58 : monnier 106 </SECTION>
59 : monnier 7
60 : monnier 106 <SECTION>
61 : monnier 7 <HEAD>Polling</HEAD>
62 :     <PP>
63 :     The only loss in function from version&nbsp;0.9.8 is the elimination
64 :     of the <IDREF/poll/ operation, which provided a non-blocking form
65 :     of <VALREF STRID="CML"/sync/.
66 :     Instead of this operation, &CML; now provides non-blocking input operations
67 :     on many of the basic communication types.
68 : monnier 106 </SECTION>
69 :     </SECTION>
70 :    

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0