Debian Codegraph @

doc/html/ftlock.htm

raw
1 <HTML>
2 <HEAD>
3 <TITLE>LOCK-files (Appendix 31)</TITLE>
4 </HEAD>
5 <BODY BACKGROUND="/back_fbb.jpg">
6 <P>
7 <IMG SRC="/fbb.gif" WIDTH="32" HEIGHT="32">
8 <H1 ALIGN=Center>
9 LOCK-files (.LCK)
10 </H1>
11 <P ALIGN=Center>
12 (Appendix 31)<SMALL>.</SMALL>
13 <P>
14 Added lock files when importing and exporting mail (same filename, extension
15 added or replaced = "lck")
16 <PRE>
17 This means that while FBB is using MAIL.IN a file named MAIL.LCK exists.
18 In the same way, if a file named MAIL.LCK exists, FBB will delay MAIL.IN
19 This is to avoid conflicts between applications.
20
21
22 MAIL.LCK is not imported, it is only a (empty) temporary file which is used
23 as a flag.
24
25 When FBB imports MAIL.IN it does :
26
27 if MAIL.LCK exists
28 then begin
29 do not import MAIL.IN
30 if MAIL.LCK is older than one hour
31 then begin
32 delete (if possible) MAIL.LCK
33 end
34 end
35 else begin
36 create MAIL.LCK
37 import MAIL.IN
38 delete MAIL.LCK
39 end
40
41 this is checked every minute until MAIL.LCK no longer exist.
42
43 When FBB exports LA6CU.OUT, it does :
44
45 if LA6CU.LCK exists
46 then begin
47 do not export LA6CU.OUT
48 if LA6CU.LCK is older than one hour
49 then begin
50 delete (if possible) LA6CU.LCK
51 end
52 end
53 else begin
54 create LA6CU.LCK
55 export LA6CU.OUT
56 delete LA6CU.LCK
57 end
58
59 Another application should do the same to avoid conflicts.
60
61 Lock-files are deleted (if possible) after 1 hour.
62
63 </PRE>
64 <PRE><A HREF="doc.htm"><IMG SRC="/contents.gif" WIDTH="108" HEIGHT="28"></A>
65
66 <A HREF="/"><IMG SRC="../button_home.gif" WIDTH="90" HEIGHT="29"></A>
67
68 <FONT COLOR="#800000">This page was last updated <!--#config timefmt="%d-%b-%y"--><!--#echo var="LAST_MODIFIED"--></FONT>
69
70 </PRE>
71 </BODY></HTML>