Skip to main content

No project description provided

Project description

Description of the project

In this project our purpose is that implement a mechanism like goroutine. This mechanism is already implemented in threading or multiprocessing libraries , but we want to find out that what actually happen when we want to manage processes and waiting for them.

Sections

  1. process.py : In this file the functions that you need to run your tasks in concurrent placed. you can run your tasks with process or a pool of process (for using wait group functionality you'r not forced to use this functions).

  2. wait_group.py : In this file a module implemented that you can use it for controlling your concurrent tasks. for example you want to run multiple process in background and you need to know when exactly they done, so you use wait group (like waitGroup() in go). you can use .join() too btw.

What i learned

  1. understanding difference of process and thread
  2. understanding and using shared variables
  3. using un-usual data structure in this environment like Queue()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pieroutine-0.2.2.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pieroutine-0.2.2-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file pieroutine-0.2.2.tar.gz.

File metadata

  • Download URL: pieroutine-0.2.2.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.3 Linux/6.14.0-29-generic

File hashes

Hashes for pieroutine-0.2.2.tar.gz
Algorithm Hash digest
SHA256 47a11b6723463b7523deddbc1d23d3f09330ec3f6c259f7b53b6576e08b652d1
MD5 4825ab09aff95d1dff9f84d017908895
BLAKE2b-256 8e234af06c730052965fd84aa985c8a72ff46f3164976f8da9c383dbb68cdcc8

See more details on using hashes here.

File details

Details for the file pieroutine-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: pieroutine-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.3 Linux/6.14.0-29-generic

File hashes

Hashes for pieroutine-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eebbab0aae88115db28ce5e3043360c1a61ddb2e07be6e5b4235eb3ab131109b
MD5 9e5772afdfe56ab082605992e4c5ed30
BLAKE2b-256 c2f976b3ea758042b9095586290eb5ef9520576a79ee8da04d4d9d859c506079

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page