3

Perhaps a silly question, but is there any common naming convention for a class that provides thread-safe operations, other than ThreadSafeFoo? This is most explicit and works nicely, but I figured I'd ask if there are any single-word synonyms which represent the notion of thread safety ("Safe", "Locking"?), or if there's anything shorter that is commonly used?

jwalk
  • 1,120
  • 11
  • 27

2 Answers2

1

I think Concurrent... is a good choice. It describes very well the usecase in which it should be used without saying to much about technical details..

Markus Hettich
  • 544
  • 6
  • 12
0

SyncFoo can be a good choice to avoid too long class name.

Charlie
  • 33
  • 5