Skip to main content

Parallel Process Threading

Project description

This program mimics the process of Intel and ARM CPU Instruction Processing

[ FETCH ] [ DECODE ] [ EXECUTE ]

Fetching all the instructions that are currently being executed in the pipeline

Decoding all the Function Processes, Objectifying it, Preparing it

Executing the Function Processes in Window Cycles [ Explained in Documenation ]

** Installation Guide **

> python setup.py build_ext

> Locate ParallelThreading/build/lib.win-[ARCH]-[PYTHON_VERSION]/Pipeline.pyd

> Include this in your project you plan to implement this with, This should normally be globally defined somewhere!

To import the package: > import Pipeline

** Notices ** This has ONLY been tested on python 3.9.6 WINDOWS. There are no methods or packages that require a operating system or distribution of linux. As far as I am concerned, this project works on all platforms. I have not researched whether embedded distributions that support python interpretors support the threading library. every thing else is built-in

This is not built to make threading obselete, or to enhance performance. This is a project to create parallel instructions based on a series of step functions that give a final output, whether it be 1 function, or 500

This is built to execute millions of functions over time in a parallel processing manor, storing the values in a registry for reading while storing, or after the program has finished

Performance is based on how long the function takes to execute, 1 Cycle is completed after the iteration completes all current function executing stages.

100 Cycles may take 1 second, depending on how long the function hangs. 100 Cycles may take 100 seconds, given its a instruction to scan the port of a network host with a timeout of 1

WARNING : Functions with Long Iterating Loops will cause the pipeline to wait until that function call to return its blocking state. WARNING : Functions with Infinite Loops will cause the pipeline to freeze, allowing no other functions to continue executing stages.

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

ParallelThreading-0.7.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file ParallelThreading-0.7.tar.gz.

File metadata

  • Download URL: ParallelThreading-0.7.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.6

File hashes

Hashes for ParallelThreading-0.7.tar.gz
Algorithm Hash digest
SHA256 81887714da8818fb4d00a4abf72d098749414cbbb42674fdd7b684420d403caa
MD5 3fd2bec438a8af9ed45897bce703a1e4
BLAKE2b-256 830c8c33fba460a7e809015974c00c7d2efc71e6829b96ce11c3f011811477e0

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