> So, multiple processes can use the functions at the same time, without
> any error (either program error, or unexpected output) occurred?
Code (ie, instructions in a function) usually does not matter since
code is generally read only. All processes can (and do) share code.
Global data is different. Unless global data is placed in a shared
data segment (usually via a pragma and DEF file), each process gets
its own copy of the global data. So the data is global for a process
(for all threads in the process); and not system wide for all
processes.
Shared data segments are highly discouraged since one process can
corrupt the data/state of another process.
http://msdn.microsoft.com/en-us/library/h90dkhs0(v=vs.80).aspx.
Jeff