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.

Non-blocking socket with poll

A couple of days ago I had to investigate a problem where my application was showing abnormally high CPU usage …

c sockets posix blocking
Handle a blocking function call in Python

I'm working with the Gnuradio framework. I handle flowgraphs I generate to send/receive signals. These flowgraphs initialize and start, …

python multithreading blocking gnuradio
C# : Blocking a function call until condition met

I am developing a C# Winforms application, part of the application will be uploading files to a webserver using AsyncUpload (…

c# winforms blocking
What are some reasons NetworkStream.Read would hang/block?

MSDN documentation seems to suggest that NetworkStream.Read will always return immediately. If no data is found it returns 0. However, …

c# sockets blocking networkstream
Garbage Collection and Threads

AFAIK when a GC is doing its thing the VM blocks all running threads -- or at least when it …

java clr memory-management blocking garbage-collection
How to detect and measure event loop blocking in node.js?

I'd like to monitor how long each run of the event loop in node.js takes. However I'm uncertain about …

node.js npm blocking event-loop
jQuery UI modal dialog not blocking

I am new to javascript and jQuery. I am trying to implement a modal dialog using jQuery UI widgets. The …

jquery user-interface dialog modal-dialog blocking
c++ linux accept() blocking after socket closed

I have a thread that listens for new connections new_fd = accept(Listen_fd, (struct sockaddr *) & their_addr, &…

c++ linux sockets blocking
Java BufferedReader readline blocking?

I want to make an HTTP request and then get the response as sketched here: URLConnection c = new URL("http://…

java networking io blocking bufferedreader
Running a WPF control in another thread

I am using a visual control in my project that is from a library that I do not have the …

c# wpf multithreading task-parallel-library blocking