4 ms·
Can somebody please intercept the code for me? Seems I am in deep dream; not able to figure out the code.
by Garbage 16y ago
Can somebody please intercept the code for me? Seems I am in deep dream; not able to figure out the code.
- steveklabnik 16y agoFrom my 5 minutes of skimming: Basically, it spawns threads for each 'dreamer.' Then they spawn more threads for each dream level, and wait for the lucid_dreamer-s in lower levels to accomplish their task, while printing what's going on. Think of it like the good old dining philosopher's program, where threads represent the diners. Here's a slightly more lucid explanation: http://calacanis.joshontheweb.com/wp-content/uploads/2010/07/inception_infographic_by_dehah-scaled-1000.jpg http://calacanis.joshontheweb.com/wp-content/uploads/2010/07...
- joshu 16y agoah, the dreaming philosophers problem