Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - import internal.gc.gc, std.thread, std.stdio;
 - class Job : Thread {
 - this() {
 - super(&run);
 - }
 - private int run() {
 - while (true) writef("*");
 - return 0;
 - }
 - }
 - void main() {
 - Job j = new Job;
 - j.start();
 - fullCollect();
 - while(true) writef(".");
 - }
 
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment