Skip to content

Commit

Permalink
Update Comment Form (Golint)
Browse files Browse the repository at this point in the history
  • Loading branch information
sherifabdlnaby committed Mar 4, 2019
1 parent ce50dc3 commit 3703f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpool.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func (w *Pool) TryEnqueue(job func()) bool {
return true
}

// TryEnqueue will not block if the pool is full, will return true once the job has finished processing or false if the pool is closed or full.
// TryEnqueueAndWait will not block if the pool is full, will return true once the job has finished processing or false if the pool is closed or full.
func (w *Pool) TryEnqueueAndWait(job func()) bool {
// Acquire 1 from semaphore ( aka Acquire one worker )
// False if semaphore is full or status not started.
Expand Down

0 comments on commit 3703f7e

Please sign in to comment.