Questions tagged as 'timer'

1
answer

what value isAlive (), when a python 3.x process ends?

When it is alive, an isAlive process takes the value of True but when that process ends what value does it take? When I code if t.isAlive == True: if it works because the process is alive but when if t.isAlive == False: does not...
asked by 24.08.2017 / 21:16
3
answers

Chronometer with milliseconds in c #

I have this code in my timer. What happens is that when making comparisons with a chronometer I do not have the required accuracy, I have no idea what the error may be. I need to make a chronometer to mark me m-s-ms. private void t1_Tick(obje...
asked by 13.06.2017 / 02:43
1
answer

Timer error made with java

I was doing a program in java and in this I need a timer that can run on multiple occasions without closing the program however I only get it to run once before I miss an error, in the code I use 2 Timer of the class java.util.Timer and two Time...
asked by 25.12.2018 / 21:06
0
answers

Problem when setting rps Jmeter

I have a problem and I have to do a load test where I have the rps, the problem comes when I put a "throughput shaping timer" to control the hps that does not do it correctly or a "constant throughput timer" and he continues to ignore me when do...
asked by 30.10.2018 / 16:13
0
answers

Use a global variable with timer

I try to make a program in Java that has two tails (A and B) through which objects are arriving and depending on an attribute, it is saved in T1, T2, T3 or T4. This is my program now: public static void main(String args[]) { Queue<Ca...
asked by 23.10.2018 / 21:34
0
answers

Why does my app restart when I want to run a timer, in Android Studio?

I have the following code in the MainActivity.java TimerTask timerTask = new TimerTask() { @Override public void run() { Toast.makeText(MainActivity.this, "Timer", Toast.LENGTH_SHORT).show(); } }; Timer timer = new Ti...
asked by 17.07.2018 / 01:07
0
answers

Message does not appear in the taskbar java

My question is how can I get a msg from the taskbar by calling my method MessageTrayIcon () from another class? I mean, I call it but I do not do any action, msj does not appear in my taskbar, I have a Timer that fires every X seconds, msj sho...
asked by 14.09.2017 / 05:25
2
answers

Add files between two ArrayList in Java

My question is, you can go through two ArrayList<String> causing both to load with a for loop running for a couple of milliseconds triggered with a timer and that first ArrayList loses the focus and go through t...
asked by 15.08.2017 / 23:03
0
answers

Classic ASP do a task every 5 min only 3 times

Good morning, I need in classic asp to make a script using the session variables, do when a certain variable is true, 3 times an action and between each of the times you must spend 5 minutes, I have been thinking for days I would do it without i...
asked by 21.02.2017 / 12:52