From eb5a13904f7ee87d965883769ca5b1cab933e3f4 Mon Sep 17 00:00:00 2001 From: Shu Zhang Date: Wed, 30 Dec 2015 10:12:44 -0800 Subject: [PATCH] update posix env schedule call --- hdfs/env_hdfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hdfs/env_hdfs.h b/hdfs/env_hdfs.h index 33f9f38e2..d2afbfb3c 100644 --- a/hdfs/env_hdfs.h +++ b/hdfs/env_hdfs.h @@ -102,7 +102,7 @@ class HdfsEnv : public Env { virtual void Schedule(void (*function)(void* arg), void* arg, Priority pri = LOW, void* tag = nullptr, void (*unschedFunction)(void* arg) = 0) { - posixEnv->Schedule(function, arg, pri, tag); + posixEnv->Schedule(function, arg, pri, tag, unschedFunction); } virtual int UnSchedule(void* tag, Priority pri) {