Top "Blocking" questions

Blocking mode I/O blocks the issuing thread until the operation transfers at least one byte or an error or end of stream occurs.

Wrapping an asynchronous computation into a synchronous (blocking) computation

similar questions: Pattern for wrapping an Asynchronous JavaScript function to make it synchronous Wrapping an asynchronous method synchronously in C# …

java concurrency asynchronous blocking
Chrome blocking javascript on localhost

I'm working on developing a site on my local machine (Windows 7 Ultimate x64) using WAMP, running APACHE v2.2.22, PHP 5.3.13, and …

javascript google-chrome blocking
Java blocking issue: Why would JVM block threads in many different classes/methods?

Update: This looks like a memory issue. A 3.8 Gb Hprof file indicated that the JVM was dumping-its-heap when this "blocking" …

java garbage-collection locking blocking concurrent-programming
In Go, does it make sense to write non-blocking code?

coming from node.js point of view, where all code is non-blocking. In Go, non-blocking is easily achieved using channels. …

node.js go blocking
How to see if a pipe is empty

Assuming a pipe, int pipe_fd[2]; pipe(pipe_fd); We fork, and expect that one process will write into the …

c block pipe blocking
How to force main Acivity to wait for subactivity in Android?

I am calling a subactivity from main activity. This subactivity should take few numbers from user (i'm using Edit text …

android android-activity blocking wait subactivity
When should a method throw InterruptedException, and how should I handle one that does? (blocking method)

If a method must be a blocking method, am I right in thinking that if I leave out throws InterruptedException, …

java multithreading exception-handling blocking
How to reset a socket back to blocking mode (after I set it to nonblocking mode)?

I have read this regarding setting a socket to non-blocking mode. http://www.gnu.org/software/libc/manual/html_mono/…

c sockets networking blocking nonblocking
When does a UDP sendto() block?

While using the default (blocking) behavior on an UDP socket, in which case will a call to sendto() block? I'm …

network-programming udp blocking
python subprocess communicate() block

I am using the subprocess module to call an external program (plink.exe) to log-in to a server; but when …

python subprocess blocking