KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Always protect access to Interprocess arrays
PRODUCT: 4D | VERSION: | PLATFORM: Mac & Win
Published On: March 23, 2001

Any time you are using an interprocess array that may be accessed by more than one process at the same time, always protect access to that array by using a semaphore. Modifying the contents of an IP array from two processes simultaneously can result in bad results, range check errors and/or crashes.

For more information see example 2 in Command Semaphore.