diff --git a/compiler/infra/OMRMonitor.hpp b/compiler/infra/OMRMonitor.hpp index 5321f662fc5..785bce02fe2 100644 --- a/compiler/infra/OMRMonitor.hpp +++ b/compiler/infra/OMRMonitor.hpp @@ -47,14 +47,14 @@ class Monitor static TR::Monitor *create(char *name); static void destroy(TR::Monitor *monitor); void enter(); - int32_t try_enter() { TR_UNIMPLEMENTED(); } + int32_t try_enter() { TR_UNIMPLEMENTED(); return 0; } int32_t exit(); // returns 0 on success void destroy(); void wait() { TR_UNIMPLEMENTED(); } - intptr_t wait_timed(int64_t millis, int32_t nanos) { TR_UNIMPLEMENTED(); } + intptr_t wait_timed(int64_t millis, int32_t nanos) { TR_UNIMPLEMENTED(); return static_cast(0); } void notify() { TR_UNIMPLEMENTED(); } void notifyAll() { TR_UNIMPLEMENTED(); } - int32_t num_waiting() { TR_UNIMPLEMENTED(); } + int32_t num_waiting() { TR_UNIMPLEMENTED(); return 0; } char const *getName(); bool init(char *name);