How threads work
Methods in the PlatformFunction class are used to call external functions on a separate thread. You can choose from several methods, depending on how many parameters, or arguments, you need to pass to the external function.
• coroutineCall
• coroutineCallThreadKey:
• coroutineCallWith:
• coroutineCallWith:threadKey:
• coroutineCallWith:with:
• coroutineCallWith:with:threadKey:
• coroutineCallWith:with:with:
• coroutineCallWith:with:with:threadKey:
• coroutineCallWith:with:with:with:
• coroutineCallWith:with:with:with:threadKey:
• coroutineCallWithArray:
• coroutineCallWithArray:threadKey:
These methods call external functions on a separate thread from the VA Smalltalk thread. Because the process making the function call must be suspended until the function completes, the coroutineCallWith messages create a new user interface process to ensure that VA Smalltalk continues to work normally.
Last modified date: 01/29/2015