/[eiffelstudio]/trunk/eweasel/tests/thread015/test.e
ViewVC logotype

Contents of /trunk/eweasel/tests/thread015/test.e

Parent Directory Parent Directory | Revision Log Revision Log


Revision 88265 - (show annotations)
Fri Feb 3 01:43:35 2012 UTC (7 years, 11 months ago) by manus
File size: 437 byte(s)
Adapted tests to breaking changed in class THREAD where the later requires `make' to be called as part of the creation of a THREAD object.

1 class TEST
2
3 inherit
4 THREAD
5 rename
6 make as thread_make
7 end
8
9 create
10 make
11
12 feature
13
14 make (args: ARRAY [STRING]) is
15 local
16 thread: WORKER_THREAD
17 do
18 thread_make
19 create thread.make (agent execute)
20 thread.launch
21 if join_with_timeout (10) then
22 io.put_string ("No way!%N")
23 end
24 end
25
26 execute
27 do
28 from
29 until
30 False
31 loop
32 (create {EXECUTION_ENVIRONMENT}).sleep (5_000_000_000)
33 end
34 end
35
36 end
37

Properties

Name Value
svn:eol-style native
svn:keywords Author Date ID Revision

  ViewVC Help
Powered by ViewVC 1.1.23