Commit 11b73c8f authored by James Sedgwick's avatar James Sedgwick Committed by Facebook Github Bot

move python/NotificationQueueExecutor to futures/

Summary: as above

Reviewed By: yfeldblum

Differential Revision: D6076757

fbshipit-source-id: afe144129e8a0242ba6baee96a84a9084e6e2571
parent bf58d50a
......@@ -96,6 +96,7 @@ nobase_follyinclude_HEADERS = \
executors/IOThreadPoolExecutor.h \
executors/LifoSemMPMCQueue.h \
executors/NamedThreadFactory.h \
executors/NotificationQueueExecutor.h \
executors/PriorityLifoSemMPMCQueue.h \
executors/PriorityThreadFactory.h \
executors/SerialExecutor.h \
......
......@@ -21,7 +21,6 @@
#include <folly/io/async/NotificationQueue.h>
namespace folly {
namespace python {
class NotificationQueueExecutor : public folly::DrivableExecutor {
public:
......@@ -55,5 +54,4 @@ class NotificationQueueExecutor : public folly::DrivableExecutor {
folly::NotificationQueue<Func>::SimpleConsumer consumer_{queue_};
}; // NotificationQueueExecutor
} // namespace python
} // namespace folly
from libcpp.memory cimport unique_ptr
from folly cimport cFollyExecutor
cdef extern from "folly/python/NotificationQueueExecutor.h" namespace "folly::python":
cdef cppclass cNotificationQueueExecutor "folly::python::NotificationQueueExecutor"(cFollyExecutor):
cdef extern from "folly/executors/NotificationQueueExecutor.h" namespace "folly":
cdef cppclass cNotificationQueueExecutor "folly::NotificationQueueExecutor"(cFollyExecutor):
int fileno()
void drive()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment