A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
|
|
@ -0,0 +1,13 @@
|
|||
:- module concurrent_computing.
|
||||
:- interface.
|
||||
|
||||
:- import_module io.
|
||||
:- pred main(io::di, io::uo) is cc_multi.
|
||||
|
||||
:- implementation.
|
||||
:- import_module thread.
|
||||
|
||||
main(!IO) :-
|
||||
spawn(io.print_cc("Enjoy\n"), !IO),
|
||||
spawn(io.print_cc("Rosetta\n"), !IO),
|
||||
spawn(io.print_cc("Code\n"), !IO).
|
||||
Loading…
Add table
Add a link
Reference in a new issue