Generic filters



Multi-threading in Operating System – DEV

We will go through the basics of multi-threading and single threading and advantages and disadvantages of both. What is a thread? Thread is the basic unit of CPU utilization i.e. how an application uses CPU. Let's understand it through an example. Let's say we open a web-page, we often see...

Read more

Multi-Threading in Spring Boot using CompletableFuture

Multi-threading is similar to multitasking, but enables the processing of executing multiple threads simultaneously, rather than multiple processes. The CompletableFuture, was introduced in Java 8, provides an easy way to write asynchronous, non-blocking and multi-threaded code. The Future interface which was introduced in Java 5, to handle asynchronous computations. But,...

Read more

Multi Threading Models in Process Management

Many operating systems support kernel thread and user thread in a combined way. Example of such system is Solaris. Multi threading model are of three types. Many to many model. Many to one model. one to one model. Many to Many Model In this model, we have multiple user threads...

Read more

Should You Disable Hyper-Threading?

Should You Disable Hyper-Threading? Symmetric Multi-Threading (SMT), also known as Hyper-Threading, exposes two logical CPU cores for every physical CPU core. It does this by sharing computational units of the physical CPU core between the two virtual CPU cores. If neither of the paired cores needs to use the same...

Read more

Multithreading using Locking with Examples

Back to: C#.NET Tutorials For Beginners and ProfessionalsProtecting Shared Resource in Multithreading Using Locking In this article, I am going to discuss How to Protect the Shared Resources in Multithreading using Locking from Concurrent Access with an example. Please read our previous article where we discussed the significance of the...

Read more

When to Use (and Not to Use) Asynchronous Programming

Asynchronous programming is a form of parallel programming that allows a unit of work to run separately from the primary application thread. When the work is complete, it notifies the main thread (as well as whether the work was completed or failed). There are numerous benefits to using it, such...

Read more

Difference between sleep() and wait() in Java

Learn the differences between sleep() and wait() methods in Java. Learn when to use which method and what effect they bring in Java concurrency.1. Java sleep() and wait() – Discussionsleep() is a method which is used to pause the process for few seconds or the time we want to. But...

Read more

What Is Multi-Threaded Sales & Why Does It Matter?

At this year’s Linkedin Sales Connect event in NY, one of the core topics was multi-threaded sales (leave it to salespeople to adopt a term historically used to describe the technical architecture of a CPU). This term may be unfamiliar (it was to me), but if you’ve been in sales...

Read more

Java ThreadPoolExecutor and BlockingQueue Example

Life has become very easy for Java programmers working on multi-threaded applications after the release of JDK 5. JDK 5 brought many features related to multi-threaded processing which were kind of nightmare for application developers, and even worse for those who had to debug this code in future for bug...

Read more
Page 1 of 5 1 2 5

Welcome Back!

Login to your account below

Create New Account!

Fill the forms bellow to register

Retrieve your password

Please enter your username or email address to reset your password.

Add New Playlist