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.sincronizare; | ||
5 | |||
6 | /** | ||
7 | * Class created by @author Mihai HULEA at Feb 23, 2005. | ||
8 | * | ||
9 | * This class is part of the labs project. | ||
10 | * | ||
11 | * Studiati rolulul blocurilor sincronizate si modul de functionare a acestora. | ||
12 | */ | ||
13 | public class Test { | ||
14 | |||
15 | public static void main(String[] args) { | ||
16 | |||
17 | Punct p = new Punct(); | ||
18 | FirSet fs1 = new FirSet(p); | ||
19 | FirGet fg1 = new FirGet(p); | ||
20 | |||
21 | fs1.start(); | ||
22 | fg1.start(); | ||
23 | |||
24 | } | ||
25 | } |