Code Review
/
ric-plt
/
xapp-frame.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
C rmr context is now protected. Stabilizes rmr usage with multithreads
[ric-plt/xapp-frame.git]
/
pkg
/
xapp
/
types.go
diff --git
a/pkg/xapp/types.go
b/pkg/xapp/types.go
old mode 100644
(file)
new mode 100755
(executable)
index
2e1eb09
..
f3c47eb
--- a/
pkg/xapp/types.go
+++ b/
pkg/xapp/types.go
@@
-28,7
+28,7
@@
type RMRStatistics struct{}
type RMRClient struct {
protPort string
type RMRClient struct {
protPort string
- numWorkers int
+ contextMux sync.Mutex
context unsafe.Pointer
ready int
wg sync.WaitGroup
context unsafe.Pointer
ready int
wg sync.WaitGroup