| 31. | Also, global variables require filesystem access, which typically makes them slower to access than local variables.
|
| 32. | SINCURVE uses two local variables, x and angle, as well as a global variable, OFFSET.
|
| 33. | When using global variables, each task or ISR must ensure that it has exclusive access to variables.
|
| 34. | SQL Server 2000 allows input and output parameters for tasks, greatly expanding the usefulness of global variables.
|
| 35. | When passing in parameters which are mapped to Global Variables, you are required to include the typeid.
|
| 36. | The PDB debug symbols that Microsoft distributes include only public functions, global variables and their data types.
|
| 37. | A global variable therefore has an unlimited potential for creating mutual dependencies, and adding mutual dependencies increases complexity.
|
| 38. | To avoid a race condition, every access to this global variable would have to be protected by a mutex.
|
| 39. | In theory, this function could affect a global variable, call other non-runtime constant functions, etc.
|
| 40. | The function is only executed if the function ID in the global variable and the ID of the function match.
|