Skip to content

asifrhussain/Pool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Asif R. Hussain
Pool.py - thread safe pool of resources

- All resources are put in a list
- Locks are used to synchronize access to the list
- Polling is used to check if resources are busy
- pool_test.py tests various methods by spawning four threads
- A list may be replaced by a dict(hash) for faster lookup

About

pool of resources

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages