Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Using Multithreading – PB Docs 125 – PowerBuilder Library

Using Multithreading – PB Docs 125


Using Multithreading

When you deploy a PowerBuilder application that contains shared objects or an NVO
assembly to .NET, the application can be run in a multithreaded environment. The
PowerBuilder .NET runtime library also supports .NET synchronization, enabling your
application to avoid possible data corruption.

.NET Threading in PowerScript

This PowerScript code fragment uses .NET threading:

Using .NET Synchronization Functions

To use .NET synchronization functions directly in PowerScript:

  1. Declare a global variable.
  2. Initialize the global variable.
  3. Use the global variable in your .NET synchronization functions. Define your types
    and functions within #IF DEFINED and #END IF preprocessor statements.

Windows Form example:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x