Fork example with python
Threading example with python (Lots of comments in the code)
It could also be applied to different tasks that can be "split" among different threads
Just be careful with the use of resources and demonizing threads (read comments and documentation)