[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: C++, pcall, and yield
- From: David Given <dg@...>
- Date: Mon, 17 Apr 2006 23:51:39 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Greg Falcon wrote:
[...]
> This kind of concern is the only reason Coco wasn't suitable for my
> needs. As far as I could tell from man pages and Google searching,
> POSIX's ucontext interface makes no claims about exception handling or
> other C++ features.
[...]
I also discovered the hard way that glibc on Linux 2.4 kernels on some i386
platforms uses an implementation of pthreads that is incompatible with any
form of user stacks, including the kind that ucontext or pretty much any other
coroutine library uses... it's sufficient for your program merely to *link* to
the pthreads library to cause breakage.
Lots more information here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=339827
- --
+- David Given --McQ-+ "If you're up against someone more intelligent
| dg@cowlark.com | than you are, do something insane and let him think
| (dg@tao-group.com) | himself to death." --- Pyanfar Chanur
+- www.cowlark.com --+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFERBv7f9E0noFvlzgRAik/AJ48f670UqYY9exxWm6o5qQyY41/wwCfQAQ0
SjaFu+Dg9c3NC68HZV2I7yc=
=7lD5
-----END PGP SIGNATURE-----