• +33 1 41 31 82 82
  • This email address is being protected from spambots. You need JavaScript enabled to view it.

During this webinar, we will build multithreaded applications (with versions prior to PowerBuilder 12) so that they can be run as separate processes in order to maximize processor and memory usage. We will also explain the new features and advantages of doing multithreaded development in PowerBuilder 12.5 using PowerBuilder .NET functions.

?

Presenter: Bruce Armstrong

?

Q: Is there a way to have threads communicate with each other or does communication have to go through the main thread?
A:? Communication should go through the main thread as the child threads have no knowledge of each other, just of the parent thread (the UI thread).? If you want to have child threads coordinate, you can either pass the info back to the main thread or have another mechanism (e.g., data in the database) that helps them communicate.

Q: Is multithreading only appropriate for standalone background processing that doesn't interact with the user interface other than instance and global variables.
A: The child threads should not interact with the user interface directly.? They can pass back information to the main (UI) thread and have the main thread display the information to the user through the user interface.? The child threads should not attempt to do that directly.? The child threads do not have access to instance or global variables of the main thread.
Multithreading is largely used when you do not want the main thread to be tied up waiting for the completion of an operation.? It may be a long running operation or it may be a series of shorter running independent operations that you want to run concurrently rather than sequentially.

Q: How do you handle failures a thread in the main thread?
A: Pass error information back to the UI thread via the object reference used to pass data back.

Q: In each thread how do you make sure the files does not have duplicate file names.
A: In the code samples?? The name of the file to write was passed in as an argument.

Find more Questions and Answers on PowerBuilderTV


Its official ...! the latest version of Software Tool & Die Inc (STD) 's Foundation Classes with major updates has now been released for all current versions of PowerBuilder, EAServer and Appeon.

"Software Tool & Die Inc (STD) is very pleased to announce that they have just released an updated version of their Foundation Class library for both PowerBuilder and Appeon. The latest version contains the following updates and has been tested with Appeon 6.5.1 using PB 11.5.1, 12.1 and 12.5.1 official MR (maintenance) releases including PB's "Classic" and .NET versions! Testing inside of PB also included WebForm, Winform, Win32 and Smart Client deployments."

Check out more information on Chris Pollach's blog!


How to develop Multithreaded applications with PowerBuilder

Date: Thursday May 24th 2012 at 11:00 AM EST (New York) - 17h00 CET (Paris)

During this webinar, we will build multithreaded applications (with versions prior to PowerBuilder 12) so that they can be run as separate processes in order to maximize processor and memory usage. We will also explain the new features and advantages of doing multithreaded development in PowerBuilder 12.5 using PowerBuilder .NET functions. Presenter: Bruce Armstrong

Register here


Who doesn't like free things?! From Chris Pollach's blog The Great White North Technical Evangelist: " "Jermery Lakeman has developed a set of functions designed to really optimize a number of common operations used by many PowerBuilder applications. These common functions (called FastFuncs) have been implemented using PowerBuilders internal system direct call interface to give the maximum possible performance! The set of FastFuncs functions include (to highlight a few): bit-wise operations, string building, string replace all, string splitting, and a function to obtain the current stack trace."

The best part, you can download it for free!

?


Looking to see what your clients, suppliers, competition are interested in when taking their PowerBuilder applications mobile? You can check out the Mobile Survey recently put online.?PBDJ has just published some of the results from the survey that you can find here. If you want to see the full results to the mobile survey you can check them out here by filling out the survey yourself.


Code Analysis

Explore & Understand complex code Evaluate the impact of a change. Improve PB and Database Code.


Learn More

Visual Guard

Application Security

Control Access to Sensitive Data.
Monitor Audit application Security.
Send notifications on suspicious events.

Learn More

AscentialTest Automated Software Testing

Automated Testing

The ONLY testing tool fully supporting
PowerBuilder Datawindows and Objects.

Learn More

© 2024 Novalys. All Rights Reserved.