Comparació de solucions segons model concurrent ----------------------------------------------- Exemple asyncio ............... Fitxer :download:`exempleAsyncio.py` .. literalinclude:: exempleAsyncio.py :language: python Exemple fork ............ Fitxer :download:`exempleFork.py` .. literalinclude:: exempleFork.py :language: python Exemple multiprocessing 1 ......................... Fitxer :download:`exempleMultiprocessing1.py` .. literalinclude:: exempleMultiprocessing1.py :language: python Exemple multiprocessing 2 ......................... Fitxer :download:`exempleMultiprocessing2.py` .. literalinclude:: exempleMultiprocessing2.py :language: python Exemple multiprocessing 3 ......................... Fitxer :download:`exempleMultiprocessing3.py` .. literalinclude:: exempleMultiprocessing3.py :language: python Exemple seqüencial .................. Fitxer :download:`exempleSeq.py` .. literalinclude:: exempleSeq.py :language: python Exemple threadings 1 .................... Fitxer :download:`exempleThreadings1.py` .. literalinclude:: exempleThreadings1.py :language: python Exemple threadings 2 .................... Fitxer :download:`exempleThreadings2.py` .. literalinclude:: exempleThreadings2.py :language: python f_exemple ......... Fitxer :download:`f_exemple.py` .. literalinclude:: f_exemple.py :language: python