Questions tagged [blocking-function-call]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5 votes
3 answers

Providing a non-blocking IO API in a C library

I am working on a C library (SlipRock) for interprocess communication. The library currently exposes a simple, blocking API. This is easy to use, makes misuse (relatively) difficult (this is C after ...
Demi's user avatar
  • 826
4 votes
3 answers

Blocking function call with asynchronous content

I am sure that this is a common design pattern, but I seem to have a blind-spot. I have a requirement that the function call from Application to Service be blocking, but service needs to do something ...
Mawg says reinstate Monica's user avatar
2 votes
1 answer

Feeding std::streambuf for Non-Blocking std::istream Read

I want to write small library to guide a child process for a specific needs (not trying to reinvent bicycle here). My needs includes reading from child stdout and stderr. I want to implement this as ...
Vasilly.Prokopyev's user avatar
-1 votes
1 answer

Async web server and associated 'workers' implementation

In a regular WSGI service provider implementation there is a blocking HTTP server that services clients. When a client, for example, creates an invoice, the server simply makes a CRUD operation that ...
simon's user avatar
  • 369