OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:AsynchronousSocketCloseMonitor
(Results
1 - 2
of
2
) sorted by null
/libcore/luni/src/main/native/
AsynchronousSocketCloseMonitor.h
24
*
AsynchronousSocketCloseMonitor
helps implement Java's asynchronous Socket.close semantics.
26
*
AsynchronousSocketCloseMonitor
::init must be called before anything else.
28
* Every blocking network I/O operation must be surrounded by an
AsynchronousSocketCloseMonitor
32
*
AsynchronousSocketCloseMonitor
monitor(fd);
38
*
AsynchronousSocketCloseMonitor
::signalBlockedThreads(fd);
40
class
AsynchronousSocketCloseMonitor
{
42
AsynchronousSocketCloseMonitor
(int fd);
43
~
AsynchronousSocketCloseMonitor
();
50
AsynchronousSocketCloseMonitor
* mPrev;
51
AsynchronousSocketCloseMonitor
* mNext
[
all
...]
AsynchronousSocketCloseMonitor.cpp
17
#define LOG_TAG "
AsynchronousSocketCloseMonitor
"
19
#include "
AsynchronousSocketCloseMonitor
.h"
35
static
AsynchronousSocketCloseMonitor
* blockedThreadList = NULL;
46
void
AsynchronousSocketCloseMonitor
::init() {
60
void
AsynchronousSocketCloseMonitor
::signalBlockedThreads(int fd) {
62
for (
AsynchronousSocketCloseMonitor
* it = blockedThreadList; it != NULL; it = it->mNext) {
70
AsynchronousSocketCloseMonitor
::
AsynchronousSocketCloseMonitor
(int fd) {
84
AsynchronousSocketCloseMonitor
::~
AsynchronousSocketCloseMonitor
() {
[
all
...]
Completed in 62 milliseconds