SkillAgentSearch skills...

ThreadControl

ThreadControl class add puase, resume and cancel semantics to Java threads.

Install / Use

/learn @bibhas2/ThreadControl
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

The AsyncTask mechanism in Android provides cancellation semantics but no way to pause and resume background work. The ThreadControl class shown in this project is precisely meant for that. It gives a simple way for the main GUI thread to control all background threads. The main thread can pause, resume and cancel work.

Related Skills

View on GitHub
GitHub Stars8
CategoryDevelopment
Updated7y ago
Forks5

Languages

Java

Security Score

55/100

Audited on Jul 26, 2018

No findings