Non-blocking RMR init ...
[ric-plt/alarm-go.git] / alarm / types.go
index 54a681b..ffe5d39 100755 (executable)
@@ -69,10 +69,11 @@ type AlarmMessage struct {
 
 // RICAlarm is an alarm instance
 type RICAlarm struct {
-       moId   string
-       appId  string
-       rmrCtx unsafe.Pointer
-       mutex  sync.Mutex
+       moId     string
+       appId    string
+       rmrCtx   unsafe.Pointer
+       rmrReady bool
+       mutex    sync.Mutex
 }
 
 const (