- 21 Aug, 2018 4 commits
-
-
Geoff Simmons authored
-
Geoff Simmons authored
Use an atomically incremented uint64 as the key for global maps. Random key and sync.Maps are no longer necessary.
-
Geoff Simmons authored
-
Geoff Simmons authored
No longer starting a goroutine -- users decide if they want one. Native reads are locked per Log object, since they are not safe for concurrency with the same native handles. The global callback map is keyed with an atomically incremented uint64.
-
- 20 Aug, 2018 12 commits
-
-
Geoff Simmons authored
The VSM handle is exported as a field in struct VSM, for internal use only.
-
Geoff Simmons authored
Names and descriptions are stored per object, no need to sync on the global map after Attach.
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
Attach() takes one argument for the instance, default for "", otherwise the named instance. Remove AttachInstance() and the progress argument.
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
-
- 19 Aug, 2018 8 commits
-
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
-
- 18 Aug, 2018 5 commits
-
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
The native invocation in Read is locked per Stats object, since VSC_Iter is not safe for concurrency with the same vsc and vsm handles. This is not necessary for the descriptions call, since it is only invoked once per object at Attach time. Use sync.Map for the global callback maps, and use 64 bits of secure randomness for their keys (using the map length to generate new keys was not safe for concurrency). In rare cases, VSC_Iter may pass NULL as the pointer to a point, so just skip it if that happens.
-
- 14 Aug, 2018 11 commits
-
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
-
Geoff Simmons authored
-