Merge pull request #911 from shuzhang1989/fix_envhdfs_virtual_func

fix vfunc inconsistency between env_hdfs and env
This commit is contained in:
Islam AbdelRahman 2015-12-30 10:52:26 -08:00
commit ab5a9a66d2

View File

@ -101,8 +101,8 @@ class HdfsEnv : public Env {
std::shared_ptr<Logger>* result);
virtual void Schedule(void (*function)(void* arg), void* arg,
Priority pri = LOW, void* tag = nullptr) {
posixEnv->Schedule(function, arg, pri, tag);
Priority pri = LOW, void* tag = nullptr, void (*unschedFunction)(void* arg) = 0) {
posixEnv->Schedule(function, arg, pri, tag, unschedFunction);
}
virtual int UnSchedule(void* tag, Priority pri) {