Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CtxQueue ¶
type CtxQueue struct {
// contains filtered or unexported fields
}
CtxQueue is a queue that can - handle a context without dropping any messages sent previously - ensure that sending a message is not blocking even if the context has been cancelled and the queue has not been started
func (*CtxQueue) AddStats ¶
func (q *CtxQueue) AddStats(s *astistat.Stater)
AddStats adds queue stats
type Do ¶
type Do struct {
// contains filtered or unexported fields
}
Do is an object capable of doing stuff in FIFO order without blocking
type RWMutex ¶
type RWMutex struct {
// contains filtered or unexported fields
}
RWMutex represents a RWMutex capable of logging its actions to ease deadlock debugging
func (*RWMutex) IsDeadlocked ¶
IsDeadlocked checks whether the mutex is deadlocked with a given timeout and returns the last caller
Click to show internal directories.
Click to hide internal directories.