crash.software
Projects
Pull Requests
Issues
Builds
scan4all
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
scan4all
Files
🤬
Sign In
20a2fbca
ROOT
/
pkg
/
kscan
/
lib
/
pool
/
pool.go
Search
History
177 lines
|
UTF-8
|
3 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
logger
Logger
Println
(...interface{})
Printf
(string, ...interface{})
Worker
f
:
func(interface{}) (interface{}, error)
NewWorker
(f func(interface{}) interface{})
:
*Worker
enablDevDebug
:
bool
init
()
Pool
Function
:
func(interface{}) interface{}
In
:
chan interface{}
Out
:
chan interface{}
threads
:
int
Interval
:
time.Duration
JobsList
:
*smap.SMap
Jobs
:
chan *Worker
wg
:
*sync.WaitGroup
Done
:
bool
NewPool
(threads int)
:
*Pool
SetLogger
(log Logger)
*Worker
Run
(in interface{})
:
(interface{}, error)
*Pool
work
()
Run
()
RunBack
()
Wait
()
InDone
()
OutDone
()
Stop
()
NewTick
()
:
string
Threads
()
:
int
All occurrences
Please wait...
Page is in error, reload to recover