A shared-variable is used within multi-threaded software as the name implies; a variable that is shared between threads and in the context of thread safety and using mutexes in mind.
A variable that is to be used by multiple threads or processes. For instance, a variable that can be read by one thread and written to by another within the same program.