Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #25778

Asynchronous programming using standard C

From Chicken McNuggets <chicken@mcnuggets.com>
Newsgroups comp.lang.c
Subject Asynchronous programming using standard C
Date 2012-09-02 23:28 +0100
Organization Aioe.org NNTP Server
Message-ID <k20mi4$eg7$1@speranza.aioe.org> (permalink)

Show all headers | View raw


I'm interested in asynchronous programming but am having a few problems 
understanding the underlying implementation.

I assume that asynchronous programming is generally done by calling a 
function (which includes a call back function pointer in its arguments) 
which starts a thread and then immediately returns. Once the thread has 
completed the task it then calls the call back function to return the 
data to the caller.

Is this the basic idea of asynchronous programming or have I got it 
completely wrong?

Thankfully threading is now on-topic in this group thanks to C11.

Thank you for any help.

Back to comp.lang.c | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Asynchronous programming using standard C Chicken McNuggets <chicken@mcnuggets.com> - 2012-09-02 23:28 +0100
  Re: Asynchronous programming using standard C Nobody <nobody@nowhere.com> - 2012-09-03 03:09 +0100
    Re: Asynchronous programming using standard C Chicken McNuggets <chicken@mcnuggets.com> - 2012-09-03 11:43 +0100

csiph-web