|
#3
|
|||
|
|||
|
Re: Faster loop scheduling
While putting a thread.sleep in a while loop works, I prefer the more institutional method of using a scheduledExecutorService. It's good for when you're not certain how long some code will take exactly.
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|