NAME

Threads Test

DESCRIPTION

Demonstrates how to use threads with "Graphics::Framebuffer"

SYNOPSIS

perl threadstest.pl [file] [# of threads]

OPTIONS

The options can be passed in any order and all are optional.

file

Changes the internal logic of Graphics::Framebuffer to instead draw using a file handle, instead of using a Mmapped variable.

Only use if you are having stability issues, as it is slower.

number of threads

This is an integer (yes, just a number) indicating how many threads to spawn to draw.

Typically this is done automatically with the number of cores the script detects, but this overrides the detection.