VirtualTam's bookmarks
19 bookmarks found
Page 1 of 1
-
Each challenge is a computer program of two or more threads. You take the role of the Scheduler. Your objective is to exploit flaws in the programs to make them crash or otherwise malfunction.
-
Python - Logging and Multiprocessing
2017-11-09 - https://docs.python.org/3/library/logging.html
- https://docs.python.org/3/library/multiprocessing.html#multiprocessing.Queue
- https://stackoverflow.com/questions/641420/how-should-i-log-while-using-multiprocessing-in-python
- https://stackoverflow.com/questions/21419323/multiprocessing-logging-lock-vs-queue
- https://github.com/jruere/multiprocessing-logging
-
Actor model - Wikipedia
2017-09-24 - https://en.wikipedia.org/wiki/Actor_model_implementation
- https://stackoverflow.com/questions/3423447/which-actor-model-library-framework-for-python-and-erlang-like
- https://quantmind.github.io/pulsar/ - https://github.com/quantmind/pulsar
- https://www.pykka.org/en/latest/ - https://github.com/jodal/pykka
- http://www.celeryproject.org/
-
-
1// THIS WILL SEND AN INTERRUPT TO ALL MATCHING THREADS 2Thread.getAllStackTraces().keySet().each() { 3 t -> if (t.getName().contains("PATTERN") ) { t.interrupt(); } 4} 5 6// THIS WILL FORCE-STOP ALL MATCHING THREADS 7// May be required for recursive loops 8Thread.getAllStackTraces().keySet().each() { 9 t -> if (t.getName().contains("PATTERN") ) { t.stop(); } 10}
Page 1 of 1