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

Uploaded Source

File details

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

File metadata

  • Download URL: ParallelThreading-0.6.tar.gz
  • Upload date:
  • Size: 2.5 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.6.tar.gz
Algorithm Hash digest
SHA256 3145d8df69a430f74b49890074abfc6b9be1112cf63eeaa79e44c8a02cd23004
MD5 f56a546360008db5d7c96690449ab99c
BLAKE2b-256 0e94c4da6a2142826a0a170c18dcfdb3f3074463cec5f755a835438acf42bbdd

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