smoothcrim Universal Magnetic! 18968 Posts user info edit post |
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 |
marilynlov7 All American 650 Posts user info edit post |
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 |
State409c Suspended 19558 Posts user info edit post |
Fork 12/2/2005 10:26:25 PM |
marilynlov7 All American 650 Posts user info edit post |
^ 12/2/2005 10:30:15 PM |
skokiaan All American 26447 Posts user info edit post |
um, threads. no other way except to do a step on each loop serially. 12/3/2005 12:37:31 AM |
scud All American 10804 Posts user info edit post |
there is no 'fork' in java
threading or some type of asynch RPC would really be the only ways 12/3/2005 12:49:55 AM |
bigben1024 All American 7167 Posts user info edit post |
you could do it with RMI. 12/3/2005 9:30:13 AM |
philihp All American 8349 Posts user info edit post |
if you don't mind me asking... why can't you use threads? 12/3/2005 11:16:08 PM |
smoothcrim Universal Magnetic! 18968 Posts user info edit post |
teacher said it would mess up the grading script. 12/4/2005 1:13:05 AM |
philihp All American 8349 Posts user info edit post |
lame script 12/4/2005 3:59:06 AM |
QT4U All American 557 Posts user info edit post |
tell the teacher to quit squelching your creativity because he's too lazy to grade manually!1 12/4/2005 8:38:50 AM |
bigben1024 All American 7167 Posts user info edit post |
I'd like to see the script that checks if you meet the whole parallel loops spec. 12/4/2005 1:32:23 PM |
Novicane All American 15416 Posts user info edit post |
one way in one way out 12/4/2005 4:26:48 PM |
smoothcrim Universal Magnetic! 18968 Posts user info edit post |
I ended up doing it in a recursive inefficient manner.. 12/4/2005 7:39:19 PM |