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


Groups > comp.std.c > #757

Re: Continuations in C?

Date 2011-08-15 09:48 +0200
From Philipp Klaus Krause <pkk@spth.de>
Newsgroups comp.std.c
Subject Re: Continuations in C?
References <4e463a29$0$4151$6e1ede2f@read.cnntp.org> <j2802d$v0r$2@speranza.aioe.org> <j28ri0$9hu$1@news.albasani.net> <9arik1F7a9U1@mid.individual.net>
Message-ID <4e48cf45$0$4152$6e1ede2f@read.cnntp.org> (permalink)
Organization CNNTP

Show all headers | View raw


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).

Philipp

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