update posix env schedule call
This commit is contained in:
parent
a41f68ac22
commit
eb5a13904f
@ -102,7 +102,7 @@ class HdfsEnv : public Env {
|
|||||||
|
|
||||||
virtual void Schedule(void (*function)(void* arg), void* arg,
|
virtual void Schedule(void (*function)(void* arg), void* arg,
|
||||||
Priority pri = LOW, void* tag = nullptr, void (*unschedFunction)(void* arg) = 0) {
|
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) {
|
virtual int UnSchedule(void* tag, Priority pri) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user