File tree Expand file tree Collapse file tree 1 file changed +34
-1
lines changed
src/test/eo/org/eolang/threads Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Original file line number Diff line number Diff line change 21
21
# SOFTWARE.
22
22
23
23
+alias org.eolang.hamcrest.assert-that
24
- +alias org.eolang.sys.call
25
24
+alias org.eolang.threads.thread
26
25
+alias org.eolang.threads.sleep
26
+ +alias org.eolang.collections.list
27
27
28
28
+home https://github.com/objectionary/eo-threads
29
29
+junit
30
30
+package org.eolang.threads
31
31
+version 0.0.0
32
32
33
+ TRUE > call
34
+
33
35
[] > thread-returns-string
34
36
thread "hello" > t
35
37
seq > @
233
235
t.stop
234
236
$.equal-to
235
237
TRUE
238
+
239
+ [] > list-tests
240
+ memory 0 > m
241
+ [size mem] > my-list
242
+ if. > @
243
+ size.lte 0
244
+ list *
245
+ with.
246
+ my-list
247
+ size.minus 1
248
+ mem
249
+ thread
250
+ mem.write
251
+ mem.plus 1
252
+ my-list 3 m > l
253
+ seq > @
254
+ reduced.
255
+ l
256
+ TRUE
257
+ [a x]
258
+ and. > @
259
+ a
260
+ x.started
261
+ reduced.
262
+ l
263
+ 0
264
+ [a x]
265
+ plus. > @
266
+ a
267
+ x.join
268
+ TRUE
You can’t perform that action at this time.
0 commit comments