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
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

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.