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.5.tar.gz (4.2 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: ParallelThreading-0.5.tar.gz
  • Upload date:
  • Size: 4.2 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.5.tar.gz
Algorithm Hash digest
SHA256 da2eca7be4ce40707d5b286befea7ef7140f7af54c9078d6929c29700f75637d
MD5 5b70d24a4407574ceecad9d5f0687bc3
BLAKE2b-256 b5016d1949017bd93cef17328946c7f5995e7fe4369e8f8e00b5dee8aeef4ce1

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