Super Weapon Exchange System

Chapter 1435: Multithreading technology

Multithreading? This is a professional computer language. If you want to know what multithreading is, you must first know what threading is. After all, multithreading is just multiple threads.

Everyone knows the program, and every program running on the system is a process. A process cannot be completed all at once. It needs to be divided and executed step by step. Each step can be called a thread.

By definition, a thread is a set of instructions, or a special section of the program, which can be executed independently in the program. It can also be understood as the context in which the code runs.

The so-called multithreading refers to a technology that implements concurrent execution of multiple threads from software or hardware. A computer with multi-threading capability can execute more than one thread at the same time due to hardware support, thereby improving overall processing performance.

In terms of hardware, if a computer has two CPUs, or in later generations of CPUs, a single CPU has several cores, all of which have this ability. However, if there is only one CPU, each CPU has only one core. Such procedures can still be carried out.

In simple terms, a core can be allocated. For example, it can execute instructions of a software thread in 100 clock cycles, and then switch to another thread to execute the next 100 clock cycles; it can also start from two clock cycles per clock cycle. One of the threads fetches instructions, takes turns, and so on. From the outside, it looks like there are two cores executing at the same time. In fact, it is similar to the early time-sharing multiplexing, but it takes a long time.

In this era, computer programming is still a subject of high school. Universities have just begun to set up this science. Programmers in society are all elites among the elite. However, Qin Guan came from a previous life, and that is another one. In a time and space, programming is almost a basic course of many universities.

Of course Qin Guan knows the meaning of multi-threading, so what does Lisa mean when talking to herself?

The system in my brain is equivalent to a single-core CPU, but now I have to move both halves out. In this case, it is equivalent to executing two programs.

If you move one separately, and then move the other, then there are still two parts, if you use this multi-threading technology?

Two exchanges, alternate, so that when the exchange is completed, you can form one?

This method sounds very good, but is it reliable?

"I don’t know. I don’t know the reliability before it succeeds. Now, you can choose to try or wait." Lisa’s voice was lazy: "My Leonardo will be back soon, if you If you want to try, you have to decide as soon as possible."

Qin Guan gritted his teeth: "Well, just use the method you said."

If it is unsuccessful, it will be a big deal to weld these two sections by yourself! In short, this attempt is very meaningful. If it succeeds, it can be done the same way, and the aircraft carrier that needs hundreds of millions of mental points can be exchanged.

"Don't dream, it's because in the cemetery, the submarine is in two halves. Unless you are in the cemetery and divide the aircraft carrier into ten segments, you can stay in the cemetery for a lifetime and you can't finish it." Sha's voice came again.

"Open permissions, I need to modify some programs. You are ready to absorb new points at any time."

Although it is multi-threaded concurrent execution, the overall mental point required remains unchanged. With the upper limit of the mental point unchanged, Qin Guan needs to continuously absorb the mental point from the outside world and constantly make up for the consumption. In this way, there is no Violating the needs of the system, but bypassing this restriction.

"Understood." Qin Guan said.

At this moment, Qin Guan heard Lisa's tender cry.

Hey, be serious!

Qin Guan didn't know what Lisa was doing. He always felt that Lisa was a little absent-minded. She seemed to be enjoying another happy thing? This made Qin Guan finally speechless.

However, Lisa did two things attentively and modified the program very quickly. Fortunately, when Qin Guan was inside the system, the external time of Qin Guan's own space did not go by, so wait a while.

"Hey, can you not make such an alluring sound?"

Qin Guan didn't know how many complaints he had. Finally, Lisa was relieved and it was done!

Qin Guan was also relieved and started the exchange!

In the past, starting the exchange was a momentary matter. Time and space outside came in and the exchange inside went out. But now, with Lisa's modification, the exchange process slows down and Qin Guan can see two and a half submarines. It all disappeared slowly, little by little.

At the same time, the steel outside and the items exchanged at an equivalent price also came slowly.

The exchange process was broken down to the thread level, and then alternated.

"Hey, get on with your energy!" Lisa shouted.

The exchange is constantly going on, and at the same time, Qin Guan can also shuttle back and forth between the two time and space at the speed of threads, which Qin Guan has never experienced before.

Reap the spirit!

With the expansion of the mental point scanning system, Qin Guan will be able to harvest more and more. Now, in order to fill the vacancy of these ten million mental points, Qin Guan also needs to harvest many people.

Anyway, everyone is in a sleep state. If you focus on this thing, it will come out after the harvest. Qin Guan has nothing to worry about and harvests in large quantities!

In this way, the exchange was slowed down, the threads continued to alternate, and the talents outside also felt something strange. This time, why did Mr. Qin appear intermittently in a mentally coma?

In fact, it’s just that the flow of time has been slowed down. The entire exchange process took a very short time. After the two halves of the submarine in the cemetery disappeared, the Xiucai saw their small boat and appeared A behemoth, through the dim lights of the harbor, can see that this is a super-large submarine, and its exposed back is like a huge shark.

"Ms. Qin, it's done." Xiucai said.

Unlike normal times, after the exchange, Qin Guan felt that his brain was empty, as if he was drained. He lay softly on the chair. Such hyper-threading technology requires the high-speed computing of the CPU. It seems that my brain is working at a high frequency, and now I am finally overworked.

When the computer is working at full power, it will cause serious internal heat. Qin Guan divided the exchange process into two parts this time. Two brains are needed. Using one of his brains to persist in completing it is really a very expensive calculation.

"Xiucai, inform people, get it into the cave." Qin Guan said, closing his eyes, so tired!