Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A library for creating Thread Pools to improve performance and reduce latency on Roblox.

License

Notifications You must be signed in to change notification settings

YetAnotherClown/ThreadPool

Repository files navigation

ThreadPool

View docs

A library for creating Thread Pools to improve performance and reduce latency.


Thread Pooling

Thread Pooling reuses already existing threads instead of creating new threads every time you need to use one.

Why use this?

You shouldn't need to, unless you are creating multiple threads at a given time.

Usage

local ThreadPool = Require(ReplicatedStorage.Packages.ThreadPool)
local myThreadPool = ThreadPool.new()
myThreadPool:spawn(function(...)
 print(...) -- Prints "Hello World"
end, "Hello, world!")

Installing

Within your wally.toml file:

[dependences]
ThreadPool = "yetanotherclown/threadpool@1.0.0"

Building with Rojo

To build yourself, use:

rojo build -o "ThreadPool.rbxm"

For more help, check out the Rojo documentation.

About

A library for creating Thread Pools to improve performance and reduce latency on Roblox.

Topics

Resources

License

Stars

Watchers

Forks

Languages

AltStyle によって変換されたページ (->オリジナル) /