Seth Falcon
|
f1397b44f8
Add take_member/2 if you know the pool you want, ask for it
|
13 years ago |
Seth Falcon
|
34ff5b6c45
Handle inability to start new members more gracefully
|
13 years ago |
Seth Falcon
|
495a43261b
Add strict gaurds to return_member; handle error_no_members gracefully
|
13 years ago |
Seth Falcon
|
17969e7d4d
Some code formatting cleanups
|
13 years ago |
Seth Falcon
|
7482a9ac74
Set trap_exit early in init.
|
13 years ago |
Seth Falcon
|
00b2f7f186
Preliminary support for culling unused pool members
|
14 years ago |
Seth Falcon
|
2eb24b2252
Add some helper functions for manipulating records in pooler
|
14 years ago |
Seth Falcon
|
8b40249c3b
Fix do_return_member to clean up consumer_to_pid mapping
|
14 years ago |
Seth Falcon
|
dcef3ae491
Fix bug in remove_pid not to corrupt Pool state.
|
14 years ago |
Seth Falcon
|
454d0e7728
Add Apache 2.0 license and more doc/edoc
|
14 years ago |
Seth Falcon
|
c801a1908a
Update docs and add specs from typer for gen_server callbacks
|
14 years ago |
Seth Falcon
|
0ef3aa760e
Cleanup max_free_pool for dialyzer warning
|
14 years ago |
Seth Falcon
|
defa776237
Rename do_return_member2 => do_return_member
|
14 years ago |
Seth Falcon
|
78edf983e5
Add free_count to #pool{} and track it
|
14 years ago |
Seth Falcon
|
2675804fac
Refactor tracking of in use and free pids
|
14 years ago |
Seth Falcon
|
2a04b87e51
Add some doc, specs
|
14 years ago |
Seth Falcon
|
1ea6c5c446
Cleanup unimplemented functions and reformat a bit
|
14 years ago |
Seth Falcon
|
7b599337d4
Add random selection of pool for take_member
|
14 years ago |
Seth Falcon
|
456f409595
Rename take_pid => take_member and fix race in test code
|
14 years ago |
Seth Falcon
|
9d8b1d2cca
Rename pidq => pooler
|
14 years ago |