Is there a way to construct parallel loops, that is loops that run at the same time, independent of each other, without threading in java?
12/2/2005 9:39:03 PM
I read the condition of no threads, but why not? They are fairly easy to construct, is there some restriction against them?
12/2/2005 10:20:14 PM
Fork
12/2/2005 10:26:25 PM
^
12/2/2005 10:30:15 PM
um, threads. no other way except to do a step on each loop serially.
12/3/2005 12:37:31 AM
there is no 'fork' in javathreading or some type of asynch RPC would really be the only ways
12/3/2005 12:49:55 AM
you could do it with RMI.
12/3/2005 9:30:13 AM
if you don't mind me asking... why can't you use threads?
12/3/2005 11:16:08 PM
teacher said it would mess up the grading script.
12/4/2005 1:13:05 AM
lame script
12/4/2005 3:59:06 AM
tell the teacher to quit squelching your creativity because he's too lazy to grade manually!1
12/4/2005 8:38:50 AM
I'd like to see the script that checks if you meet the whole parallel loops spec.
12/4/2005 1:32:23 PM
one way inone way out
12/4/2005 4:26:48 PM
I ended up doing it in a recursive inefficient manner..
12/4/2005 7:39:19 PM