Questions tagged [busy-loop]

19 questions
0
votes
0 answers

Read from C# Stream without busy waiting

I need to read content from Stream in C#. I do not know which kind of Stream it would be. Let's assume it is Network Stream and network is very slow. So I can't read all bytes immediately. I know that 4 bytes in stream is integer and this int…
0
votes
1 answer

Busy process in Kubuntu while debugging

I am trying to write my first Linux application using Qt Creator. Sometimes, during debugging, I am writing code that causes my application to go in some kind of endless loop. This causes my KDE session to freeze. It seems to be impossible to…
Silicomancer
  • 8,604
  • 10
  • 63
  • 130
0
votes
1 answer

zeromq pub/sub pattern, listener always use busy loop to check message?

I am new to ZeroMQ, I have seen a few examples, seems always involves the listener to do busy loop to receive the message, for example, in the pub/sub pattern. the receiver will need to do this to consume the message, while (true) { var message…
tesla1060
  • 2,621
  • 6
  • 31
  • 43
0
votes
2 answers

prettify will cause "script is busy" warning if the code is long

I'm using prettify by Google. How to fix?
Mask
  • 33,129
  • 48
  • 101
  • 125
1
2