Biblioteca Java - Blame information for rev 28
Subversion Repositories:
Rev | Author | Line No. | Line |
---|---|---|---|
28 | mihai | 1 | /* |
2 | * Test.java | ||
3 | */ | ||
4 | package exemple.fire.pipe_comm; | ||
5 | |||
6 | /** | ||
7 | * Class created by @author Mihai HULEA at Feb 22, 2005. | ||
8 | * | ||
9 | * This class is part of the labs project. | ||
10 | * | ||
11 | * Programul exeplifica comunicare intre fire de executie utilizand pipe-uri. | ||
12 | */ | ||
13 | public class Test | ||
14 | { | ||
15 | |||
16 | public static void main(String args[]) | ||
17 | { | ||
18 | FirCititor fc = new FirCititor(); | ||
19 | FirScriitor fs = new FirScriitor(); | ||
20 | try | ||
21 | { | ||
22 | fc.conect(fs.getPipe()); | ||
23 | fc.start(); | ||
24 | fs.start(); | ||
25 | }catch(Exception e) | ||
26 | {e.printStackTrace();} | ||
27 | } | ||
28 | } | ||
29 |