Skip to content

mapogolions/cooperative-multitasking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task management system

Build Status

Key points to keep in mind

  • likewise 1 Core CPU Flynn's taxonomy
  • single thread
  • event loop
  • tasks are generators/coroutines
  • cooperative multitasking

Definitions

Cooperative multitasking - tasks yield to scheduler.

Preemptive multitasking - scheduler interrupts tasks.

How to use

> git clone ...
> cd project
> php composer.phar install / composer install
> ./vendor/bin/phpunit

then copy any snippet (snippets directory) and paste to the App.php file.

> php -f App.php

Further information

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages