Top "Nonblocking" questions

Non-blocking mode I/O either transfers at least one byte or returns immediately with an error or end of stream.

Java NIO: How to know when SocketChannel read() is complete with non-blocking I/O

I am currently using a non-blocking SocketChannel (Java 1.6) to act as a client to a Redis server. Redis accepts plain-text …

java nio nonblocking socketchannel
sending a non-blocking HTTP POST request

I have a two websites in php and python. When a user sends a request to the server I need …

php python nonblocking
Python - How can I make this code asynchronous?

Here's some code that illustrates my problem: def blocking1(): while True: yield 'first blocking function example' def blocking2(): while True: …

python asynchronous twisted nonblocking event-driven
TNonblockingServer, TThreadedServer and TThreadPoolServer, which one fits best for my case?

Our analytic server is written in c++. It basically queries underlying storage engine and returns a fairly big structured data …

c++ multithreading threadpool nonblocking thrift
How do Jetty and other containers leverage NIO while sticking to the Servlet specification?

I'm new to NIO, and I am trying to figure out how Jetty leverages NIO. My understanding of how traditional …

java servlets jetty nio nonblocking
Non-blocking / Asynchronous Execution in Perl

Is there a way to implement non-blocking / asynchronous execution (without fork()'ing) in Perl? I used to be a Python …

perl asynchronous parallel-processing nonblocking
Async like pattern in pyqt? Or cleaner background call pattern?

I'm trying to write a short(one file pyqt) program which is responsive(so dependencies outside python/lxml/qt, especially …

python qt pyqt nonblocking
Examples/Illustration of Wait-free And Lock-free Algorithms

I've read that wait-free causes all threads to finish independently and lock-free ensures the program as a whole completes. I …

java multithreading algorithm nonblocking
Single Threaded Event Loop vs Multi Threaded Non Blocking Worker in Node.JS

Node.JS biggest advantage is it's non blocking nature. It's single threaded, so it doesn't need to spawn a new …

javascript node.js nonblocking
Understanding NodeJS & Non-Blocking IO

So, I've recently been injected with the Node virus which is spreading in the Programming world very fast. I am …

java node.js nonblocking