T
T
thatmaniscool2018-07-05 19:49:43
Java
thatmaniscool, 2018-07-05 19:49:43

Is it possible to do interrupts in java?

Suppose I have an infinite loop that spins the same thing.
A command comes from outside, the loop stops and some logic is executed, for example, pass data to some function.
After that, the main program starts to perform the operation from the same place.
Is such an implementation possible in java?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question