C rmr context is now protected. Stabilizes rmr usage with multithreads
[ric-plt/xapp-frame.git] / pkg / xapp / types.go
old mode 100644 (file)
new mode 100755 (executable)
index 2e1eb09..f3c47eb
@@ -28,7 +28,7 @@ type RMRStatistics struct{}
 
 type RMRClient struct {
        protPort      string
-       numWorkers    int
+       contextMux    sync.Mutex
        context       unsafe.Pointer
        ready         int
        wg            sync.WaitGroup