libdtasks 0.0.2

A minimal tasking D library


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

pipeline status

libdtasks

About

Minimal tasking library written in the D programming language. This library was heavily influenced by Sean Parent's concurrency talks, as well as Chrome's task runners.

It currently supports a SingleThreadTaskRunner that is capable of either running tasks on the current thread, or spawning a single new thread on which it will run any posted tasks asynchronously.

It also supports a ThreadPoolTaskRunner that spwans as many threads as the number of CPUs the runtime machine has, and posted tasks will run asynchronously on any of those threads.

See unittests for examples.

License

MIT

Authors:
  • Ahmed Fakhry
Dependencies:
none
Versions:
0.0.5 2018-Jun-16
0.0.4 2018-Jun-16
0.0.3 2017-Dec-23
0.0.2 2017-Dec-15
0.0.1 2017-Dec-12
Show all 6 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 12 downloads total

Score:
0.0
Short URL:
libdtasks.dub.pm