Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aarond10/epoll_threadpool
/ functions
Functions
117 in github.com/aarond10/epoll_threadpool
⨍
Functions
117
◇
Types & classes
27
↓ 31 callers
Method
tryWait
* Waits until we either have a value to return or 'when' is reached. * @returns true if value available, false otherwise. */
src/future.h:112
↓ 27 callers
Method
start
src/tcp.cc:78
↓ 24 callers
Method
enqueue
src/eventmanager.cc:129
↓ 24 callers
Method
size
* Returns the current length in bytes of all blocks combined. */
src/iobuffer.h:112
↓ 18 callers
Method
push_back
src/future.h:317
↓ 13 callers
Method
pulldown
* Ensures that the first n bytes are stored in contiguous memory. * Returns a pointer to the start of the memory on success, NULL on error. */
src/iobuffer.h:118
↓ 13 callers
Method
stop
src/eventmanager.cc:91
↓ 10 callers
Method
addCallback
* Registers a callback to get run when the Future's value is set. * If a callback is added after the value has been set, it will be * executed i
src/future.h:130
↓ 9 callers
Method
set
* Sets the return value. */
src/future.h:101
↓ 8 callers
Method
consume
* Consumes the first n bytes of the buffer. * Takes care of freeing memory, etc. * Returns false if asked to consume more data than is available
src/iobuffer.h:141
↓ 8 callers
Method
removeFd
src/eventmanager.cc:158
↓ 8 callers
Method
signal
src/barrier.h:75
↓ 8 callers
Method
watchFd
src/eventmanager.cc:142
↓ 7 callers
Function
createListenSocket
src/tcp_test.cc:51
↓ 6 callers
Method
append
* Appends another IOBuffer instance to this IOBuffer. All data from the * first buffer will be appended to this buffer without memcpying the * d
src/iobuffer.h:70
↓ 6 callers
Method
disconnect
src/tcp.cc:140
↓ 5 callers
Method
write
src/tcp.cc:136
↓ 4 callers
Method
setAcceptCallback
src/tcp.cc:309
↓ 4 callers
Method
wait
src/notification.h:72
↓ 3 callers
Method
setDisconnectCallback
src/tcp.cc:154
↓ 2 callers
Method
setReceiveCallback
src/tcp.cc:148
↓ 2 callers
Method
size
src/future.h:320
↓ 1 callers
Method
addErrback
* Adds an "errback", a callback that is triggered if the Future * is destroyed without ever setting a value. */
src/future.h:146
↓ 1 callers
Method
cancel
src/eventmanager.h:77
↓ 1 callers
Method
hasCallbacks
src/future.h:185
↓ 1 callers
Method
hasValue
src/future.h:181
↓ 1 callers
Method
isDisconnected
src/tcp.cc:144
↓ 1 callers
Method
run
src/eventmanager.h:97
↓ 1 callers
Method
shutdown
src/tcp.cc:270
↓ 1 callers
Method
thread_main
src/eventmanager.cc:214
Method
Barrier
src/barrier.h:58
Method
ConcreteItem
src/future.h:338
Method
CountingNotification
* Creates a notification that will only be signalled after num calls to * signal(). */
src/notification.h:98
Function
EnqueuedAfterCheck
src/eventmanager_test.cc:149
Function
EnqueuedAfterCheck2
src/eventmanager_test.cc:155
Function
EnqueuedCountCheck
src/eventmanager_test.cc:107
Method
EventManager
src/eventmanager.cc:44
Function
FillWriteBufferAccept
Consume data and count bytes.
src/tcp_test.cc:216
Function
FillWriteBufferReceive
src/tcp_test.cc:205
Method
Function
src/eventmanager.h:76
Method
Future
src/future.h:73
Method
FutureBarrier
src/future.h:361
Method
FutureSet
src/future.h:314
Method
IOBuffer
src/iobuffer.h:49
Method
Internal
src/tcp.cc:54
Method
Internal
src/future.h:161
Method
Internal
src/eventmanager.h:86
Method
Notification
src/notification.h:44
Function
TEST
src/eventmanager_test.cc:42
Function
TEST
Code coverage - test basic creation and listening functionality.
src/tcp_test.cc:62
Function
TEST
src/future_test.cc:43
Function
TEST
src/iobuffer_test.cc:36
Method
TcpListenSocket
src/tcp.cc:250
Method
TcpSocket
src/tcp.cc:45
Function
TestCancelA
src/eventmanager_test.cc:240
Function
TestCancelB
src/eventmanager_test.cc:243
Function
WatchFdRead
src/eventmanager_test.cc:179
Function
WatchFdWrite
src/eventmanager_test.cc:186
Function
WorkerStartStop
src/eventmanager_test.cc:162
Function
acceptConnectionCallback
src/tcp_test.cc:182
Function
acceptDisconnectHandler
src/tcp_test.cc:148
Function
acceptHandler
src/tcp_test.cc:107
Method
addCallback
src/future.h:244
Method
addCallback
src/future.h:340
Method
addCallback
src/future.h:377
Method
addCallbackHelper
Helper that discards argument on addCallback() callback.
src/future.h:353
Method
addErrback
src/future.h:265
Method
callback
src/barrier.h:66
Function
callbackHelper
src/future_test.cc:57
Method
cancel
src/eventmanager.h:92
Method
cleanup
src/tcp.h:161
Method
cleanup
src/tcp.h:226
Method
compareTasks
Used to sort heap with earliest time at the top
src/eventmanager.h:175
Method
connect
src/tcp.cc:109
Method
create
src/tcp.cc:279
Method
currentTime
src/eventmanager.cc:123
Function
disconnectChecker
src/tcp_test.cc:144
Method
enqueue
* Enqueues a function to be run on one of the EventManager's worker threads. * The function will be run on the first available thread. * It is s
src/eventmanager.h:140
Method
epollUpdate
src/eventmanager.cc:179
Method
fd
* Returns the file descriptor for the socket. * @note This shouldn't be used directly. Its exposed for debugging. */
src/tcp.h:135
Method
getEventManager
* Returns the eventmanager for this class. */
src/tcp.h:129
Method
getEventManager
* Returns the eventmanager for this class. */
src/tcp.h:208
Method
onAccept
src/tcp.cc:316
Method
onCanSend
src/tcp.cc:220
Method
onReceive
src/tcp.cc:188
Method
operator()
src/eventmanager.h:80
Function
receiveChecker
src/tcp_test.cc:94
Method
removeCallback
* Deregisters a callback registered with addCallback() to ensure * it is never called after this function returns. */
src/future.h:138
Method
removeCallback
src/future.h:259
Method
removeErrback
* Deregisters an errback. * @see addErrback */
src/future.h:154
Method
removeErrback
src/future.h:271
Method
set
src/future.h:189
Method
signal
src/notification.h:54
Method
signal
src/notification.h:101
Method
signal
src/future.h:409
Method
start
src/eventmanager.cc:72
Method
trampoline
src/eventmanager.cc:208
Method
tryWait
src/notification.h:61
Method
tryWait
src/future.h:214
Method
tryWait
src/future.h:348
next →
1–100 of 117, ranked by callers