RCS file: ./write.c,v
3 Working file: ./write.c
4 head: 1.163
5 branch:
6 locks: strict
7 root: 1.163
8 access list:
9 symbolic names:
10 keyword substitution: kv
11 total revisions: 163; selected revisions: 163
12 description:
13 this is the file for user write like operation
14 —————————-
15 revision 1.163 locked by: root;
16 date: 2014/06/03 19:31:57; author: root; state: Exp; lines: +1 -1
17 comment on complete as have to wok on spinlocks now
18 in write operation we have to use only complete to pass the driver to the read opeartion
19 first we ahve to run the read application located in folder:completion then the application will wait for the
20 writer to write and in testing i have used 3 reader appplication
21 which will wait for the data tto input from the node then once we run the writer and the first read will read the data
22 when we run the writer again the second writer will get the data and similarly for 3rd
23 so tthis type of synchnonising technique is used for the reader writer function for some specific use
24 continuing with “””””spinlock”””””
25 —————————-
26 revision 1.162
27 date: 2014/06/03 18:24:34; author: root; state: Exp; lines: +1 -2
28 complete fn synchronization tech
revision 1.42
28 date: 2014/06/03 18:28:52; author: root; state: Exp; lines: +1 -1
29 include declaration.h
30 —————————-
31 revision 1.41
32 date: 2014/06/03 18:24:57; author: root; state: Exp; lines: +2 -0
33 wait_for_complete and complete …..synchronism technique
34 —————————-
35 revision 1.40
36 date: 2014/05/27 17:52:40; author: root; state: Exp; lines: +3 -3
37 *** empty log message ***
38 —————————-
39 revision 1.39
40 date: 2014/05/27 17:27:03; author: root; state: Exp; lines: +1 -1
41 successfully working for seek_set,seek_cur,seek_end
42 —————————-