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.

How to create a sleep/delay in nodejs that is Blocking?

I'm currently trying to learn nodejs and a small project I'm working is writing an API to control some networked …

javascript node.js sleep blocking timedelay
Is there a way to get all IP addresses of youtube to block it with Windows Firewall?

I want to programme my own anti distraction tool. I can not / do not want to use hosts or third …

youtube ip firewall blocking windows-firewall
Polling the keyboard (detect a keypress) in python

How can I poll the keyboard from a console python app? Specifically, I would like to do something akin to …

python console keyboard blocking nonblocking
asynchronous vs non-blocking

What is the difference between asynchronous and non-blocking calls? Also between blocking and synchronous calls (with examples please)?

asynchronous blocking synchronous
How to prevent downloading images and video files from my website?

How to prevent downloading images and video files from my website? Is it possible? What would be the best way …

html image video blocking
How can I interrupt a ServerSocket accept() method?

In my main thread I have a while(listening) loop which calls accept() on my ServerSocket object, then starts a …

java networking blocking interrupt
Java InputStream blocking read

According to the java api, the InputStream.read() is described as: If no byte is available because the end of …

java blocking inputstream rxtx java-io
SQL Server SELECT statements causing blocking

We're using a SQL Server 2005 database (no row versioning) with a huge select statement, and we're seeing it block other …

sql-server performance blocking
Lua - get command line input from user?

In my lua program, i want to stop and ask user for confirmation before proceeding with an operation. I'm not …

lua user-input blocking wait
How efficient is locking an unlocked mutex? What is the cost of a mutex?

In a low level language (C, C++ or whatever): I have the choice in between either having a bunch of …

multithreading locking mutex blocking