|
|
|
| Our gears mesh perfectly! |
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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.
|
|
#2
|
||||
|
||||
|
Re: Faster loop scheduling
Why is this thread in Rules/Strategy? I'm just curious.
|
|
#3
|
||||
|
||||
|
Re: Faster loop scheduling
Good question. I thought I was posting in Programming - guess not. I'm not sure if I can move it. If a mod sees this, I'd appreciate it getting moved to the appropriate section!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|