Product

Coexistence of thread-safe and non-thread-safe commands

Automatically translated from English

Have you ever needed to use methods with both thread-safe and not thread-safe calls, with conditions that skip over commands that are not thread-safe? Currently the compiler prevents doing this and an error is thrown, however there’s a flag that lets you disable this check and this blog post shows you how. 

Events

Make your solutions scalable with preemptive multi-threading – Add K. from 4D Summit 2018

Automatically translated from English

Preemptive processes are powerful since they allow your applications to take full advantage of multi-core computers; consequently, this results in faster global execution time and more connected users. With 4D v17, we went a step further by providing you 1,000+ thread-safe commands!

Watch the Preemptive multi-threading video from the 4D Summit 2018 Keynote. It features Add Komoncharoensiri, Director of Technical Services (4D USA), explaining how the preemptive support in 4D helps you take advantage of your multi-core machines, as well as the new concepts we shipped along the way to help you boost performance and efficiency.

Product Web Service in preemptive

Preemptive Web Services Server and Client

Automatically translated from English

Preemptive Web Services allow your applications to take full advantage of multi-core computers resulting in faster responses for simultaneous requests. It’s not only powerful, it’s also easy: from the Method Properties of any method, just select the “Can be run in preemptive processes” option and you’re off and running!

A 4D method can be preemptive or not according to compilation options and the use of the language, as explained in this post.

Product

4D Write Pro commands in preemptive processes

Automatically translated from English

With 4D v16, you can improve your database scalability using the new 4D Write Pro commands in preemptive processes.

If you are doing routines for creating or converting documents programmatically – e.g. invoices … you can now do it with preemptive workers as most 4D Write Pro commands are now thread safe!

Product

XML commands are now thread safe

Automatically translated from English

Want to enhance your database scalability and use all the performance available with your multi-core machines?

With 4D v16, we have extended the list of thread-safe commands in order to use preemptive processes with your code handling XML.