HomeSort by relevance Sort by last modified time
    Searched defs:AsynchronousCloseMonitor (Results 1 - 3 of 3) sorted by null

  /libcore/luni/src/main/java/libcore/io/
AsynchronousCloseMonitor.java 21 public final class AsynchronousCloseMonitor {
22 private AsynchronousCloseMonitor() {
  /libcore/luni/src/main/native/
AsynchronousCloseMonitor.h 24 * AsynchronousCloseMonitor helps implement Java's asynchronous close semantics.
26 * AsynchronousCloseMonitor::init must be called before anything else.
28 * Every blocking I/O operation must be surrounded by an AsynchronousCloseMonitor
32 * AsynchronousCloseMonitor monitor(fd);
38 * AsynchronousCloseMonitor::signalBlockedThreads(fd);
44 class AsynchronousCloseMonitor {
46 AsynchronousCloseMonitor(int fd);
47 ~AsynchronousCloseMonitor();
55 AsynchronousCloseMonitor* mPrev;
56 AsynchronousCloseMonitor* mNext
    [all...]
AsynchronousCloseMonitor.cpp 17 #define LOG_TAG "AsynchronousCloseMonitor"
19 #include "AsynchronousCloseMonitor.h"
35 static AsynchronousCloseMonitor* blockedThreadList = NULL;
51 void AsynchronousCloseMonitor::init() {
65 void AsynchronousCloseMonitor::signalBlockedThreads(int fd) {
67 for (AsynchronousCloseMonitor* it = blockedThreadList; it != NULL; it = it->mNext) {
76 bool AsynchronousCloseMonitor::wasSignaled() const {
80 AsynchronousCloseMonitor::AsynchronousCloseMonitor(int fd) {
95 AsynchronousCloseMonitor::~AsynchronousCloseMonitor()
    [all...]

Completed in 2525 milliseconds