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.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.2.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pieroutine-0.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 8b0bcbe97bb7dd312abc0ecdbfbb53ebc61a22887723aa245e2a00bef710c3ab
MD5 78ed550773b1d8a9e16786eec1a62cfd
BLAKE2b-256 66dc623a4d4f5804dee2ec2866fe2773e0ee9da1b755b0054155ab24e97ab56b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pieroutine-0.2.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2b4b33dd175a055979afdfe1d6e2371c80f32fca5f60733d53f28e9068de89a4
MD5 eb22b4a48711a74e21b175b2e42c6a17
BLAKE2b-256 803d1ab41410cf3acb5fa94c78637fb6621bf658954b3528f8a7fe9c047fe7f2

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