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.1.0.tar.gz (2.2 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.1.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pieroutine-0.1.0.tar.gz
  • Upload date:
  • Size: 2.2 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.1.0.tar.gz
Algorithm Hash digest
SHA256 6de4b4c2d2877a13578f1dba05cc38e4f45849737df0d3f4bfba442253e955d9
MD5 5d4319bbcb801caeaf9facd64c82dda2
BLAKE2b-256 7ba8d89f72d5adfb6fc96863b375aa4f0f34dd7a499c4904c6fe2a0b07d80d7b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pieroutine-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.9 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 089ee93eaf21d83c95fc9185a125fb7c290762f754fdd5d3f23ea98981f75b22
MD5 45dbc3c04d6689f40dd6a9c458a74e92
BLAKE2b-256 5e4b432e30b3c01889e181c42fc9e0c68e10f2e8b829af282b04becef2c84791

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