crash.software
Projects
Pull Requests
Issues
Builds
bearer
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
bearer
Files
🤬
Sign In
f2fb9c69
ROOT
/
pkg
/
commands
/
process
/
balancer
/
balancer.go
Search
History
166 lines
|
ISO-8859-1
|
4 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
ErrorOutOfMemory
ErrorProcessCrashed
ErrorTimeoutReached
ErrorClosing
ErrorProcessNotSpawned
Monitor
workStack
:
[]*Task
workers
:
[]*Worker
taskRequest
:
chan *Task
taskComplete
:
chan *Worker
context
:
context.Context
contextCancel
:
context.CancelFunc
config
:
config.Config
Task
Definition
:
workertype.ProcessRequest
Done
:
chan *workertype.ProcessResponse
worker
:
*Worker
New
(settings config.Config)
:
*Monitor
GetFreePort
()
:
int
*Monitor
Close
()
ScheduleTask
(scanRequest workertype.ProcessRequest)
:
*Task
monitor
()
spawnWorker
(task *Task)
:
*Worker
All occurrences
Please wait...
Page is in error, reload to recover