Building Mobile Enterprise Applications : Using webMethods Mobile Designer : Project Properties Reference : Cross-Compiler Properties : Threading
Threading
project.handset.primary.thread.sleep.time.ms
Deprecated. Specifies the number of milliseconds for the primary thread sleep time that occurs on the device.
Note:  
Yield is the acknowledgment to the system that the thread is giving up its hold on the CPU. The value for yield is 0 (zero).
Platforms
iOS
Value
Numeric value
Default
5
project.handset.thread.stacksize
Specifies the number of bytes to allocate for the stack when the application creates a thread.
Platforms
All
Value
Numeric value
Default
The default is based on the platform:
Platform
Default
iOS
524288
Other platforms
32768
project.handset.wait.for.thread.termination
Deprecated. Specifies whether the application waits for running threads to terminate before exiting the application.
Platforms
All
Value
*true causes the application to wait for threads to terminate before exiting. Your mobile application and all of its threads need to detect any incoming destroyApp calls and terminate gracefully.
*false if you do not want the application to wait for threads to terminate before exiting.
Default
false
project.runtime.object.wait.sleep.time.ms
Deprecated. Specifies the number of milliseconds that you want a thread to sleep while waiting for an object to receive a wait notification.
Note:  
Yield is the acknowledgment to the system that the thread is giving up its hold on the CPU. The value for yield is 0 (zero).
Platforms
All
Value
Numeric value
Default
5
project.runtime.sync.lock.sleep.time.ms
Deprecated. Specifies the number of milliseconds that you want a thread to sleep while waiting to attain ownership of a lock.
Note:  
Yield is the acknowledgment to the system that the thread is giving up its hold on the CPU. The value for yield is 0 (zero).
Platforms
All
Value
Numeric value
Default
0 (zero)
project.runtime.uses.user.threading
Deprecated. Specifies whether the application uses an internal user threading model or native threading model.
Platforms
iOS (not the simulator)
Value
*true if an application uses an internal user threading model.
Using an internal user defined threading model can help avoid potential thread limitations.
*false if an application uses a native threading model.
Default
false
Copyright © 2007-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback