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


Groups > comp.std.c > #760

Re: Continuations in C?

From BGB <cr88192@hotmail.com>
Newsgroups comp.std.c
Subject Re: Continuations in C?
Date 2011-08-16 10:56 -0700
Organization albasani.net
Message-ID <j2eb8n$qcc$2@news.albasani.net> (permalink)
References <4e463a29$0$4151$6e1ede2f@read.cnntp.org> <j2802d$v0r$2@speranza.aioe.org> <j28ri0$9hu$1@news.albasani.net> <9arik1F7a9U1@mid.individual.net> <4e48cf45$0$4152$6e1ede2f@read.cnntp.org>

Show all headers | View raw


On 8/15/2011 12:48 AM, Philipp Klaus Krause wrote:
> Am 15.08.2011 05:38, schrieb Wojtek Lerch:
>> On 14/08/2011 11:57 AM, BGB wrote:
>>> interestingly, is seems what the OP wanted is partly defined here:
>>> http://en.wikipedia.org/wiki/Setcontext
>>
>> Even more interestingly, even though (as Wikipedia mentions)
>> setcontext() is specified in POSIX.1-2001, the 2004 version of POSIX
>> marks it as obsolescent and the 2008 version does not mention it at all.
>>   Perhaps before adding it to C, it would be good to find out why POSIX
>> decided to drop it.
>
>
> POSIX had it as a portable means for user-level threading (for use with
> makecontext() which was made obsolecsent the same way). POSIX now
> provides real multi-threading (which is better than the
> makecontext()/getcontext()/setcontext way(), since it can use parallel
> hardware).
>

which points out something else:
probably as far as POSIX was concerned, continuations weren't even on 
the table.

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


Thread

Continuations in C? Philipp Klaus Krause <pkk@spth.de> - 2011-08-13 10:47 +0200
  Re: Continuations in C? BGB <cr88192@hotmail.com> - 2011-08-13 03:02 -0700
    Re: Continuations in C? Philipp Klaus Krause <pkk@spth.de> - 2011-08-13 13:19 +0200
      Re: Continuations in C? BGB <cr88192@hotmail.com> - 2011-08-13 12:29 -0700
    Re: Continuations in C? Philipp Klaus Krause <pkk@spth.de> - 2011-08-15 09:49 +0200
      Re: Continuations in C? BGB <cr88192@hotmail.com> - 2011-08-16 10:53 -0700
  Re: Continuations in C? jacob navia <jacob@spamsink.net> - 2011-08-14 10:13 +0200
    Re: Continuations in C? BGB <cr88192@hotmail.com> - 2011-08-14 08:57 -0700
      Re: Continuations in C? Wojtek Lerch <wojtek_l@yahoo.ca> - 2011-08-14 23:38 -0400
        Re: Continuations in C? Philipp Klaus Krause <pkk@spth.de> - 2011-08-15 09:48 +0200
          Re: Continuations in C? BGB <cr88192@hotmail.com> - 2011-08-16 10:56 -0700
  Re: Continuations in C? Tim Rentsch <txr@alumni.caltech.edu> - 2011-08-30 15:36 -0700

csiph-web