Thread overview | ||||||
---|---|---|---|---|---|---|
|
June 01, 2011 [phobos] State of std.parallelism unit tests | ||||
---|---|---|---|---|
| ||||
On Wed, 01 Jun 2011 07:19:29 +0200, SK <sk at metrokings.com> wrote: > On Sat, May 28, 2011 at 6:41 PM, David Simcha <dsimcha at gmail.com> wrote: > >> Thanks for letting me know. I have no idea why this is happening. I >> was >> seeing some weirdness on FreeBSD only, but I gave up trying to solve >> that >> until the FreeBSD port is more stable or I can reproduce it on some >> other >> OS. >> > > I have test case that reliably segfaults on 64-bit Fedora 14. I can > trim it > down to the minimal failing case if you're interested. The particular > problem I observe occurs when trying to spread many fibers over more than > one thread. > > Regards, > -steve Fiber multiplexing is actually broken on POSIX. It uses a global shared ucontext_t. You may want to have a look at https://github.com/dawgfoto/druntime/commits/FiberFixes martin |
June 01, 2011 [phobos] State of std.parallelism unit tests | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On Jun 1, 2011, at 11:30 AM, Martin Nowak wrote:
>
> Fiber multiplexing is actually broken on POSIX. It uses a global shared ucontext_t. You may want to have a look at https://github.com/dawgfoto/druntime/commits/FiberFixes
Oops! Though the ucontext_t form of context switching shouldn't be used on most platforms right now (at least with -m32 set).
|
June 01, 2011 [phobos] State of std.parallelism unit tests | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On Wed, Jun 1, 2011 at 11:30 AM, Martin Nowak <dawg at dawgfoto.de> wrote: > > Fiber multiplexing is actually broken on POSIX. It uses a global shared > ucontext_t. > You may want to have a look at > https://github.com/dawgfoto/druntime/commits/FiberFixes > > martin > > Thanks Martin. I assume the FiberFixes branch is not merged with the mainline druntime. Why is that? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.puremagic.com/pipermail/phobos/attachments/20110601/8f7a14f8/attachment.html> |
June 03, 2011 [phobos] State of std.parallelism unit tests | ||||
---|---|---|---|---|
| ||||
Posted in reply to SK | Merged and then removed because the unittests were failing with an out of memory error. Sent from my iPhone On Jun 1, 2011, at 7:16 PM, SK <sk at metrokings.com> wrote: > > > On Wed, Jun 1, 2011 at 11:30 AM, Martin Nowak <dawg at dawgfoto.de> wrote: > > Fiber multiplexing is actually broken on POSIX. It uses a global shared ucontext_t. You may want to have a look at https://github.com/dawgfoto/druntime/commits/FiberFixes > > martin > > > Thanks Martin. I assume the FiberFixes branch is not merged with the mainline druntime. Why is that? > _______________________________________________ > phobos mailing list > phobos at puremagic.com > http://lists.puremagic.com/mailman/listinfo/phobos -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.puremagic.com/pipermail/phobos/attachments/20110603/8579a8b2/attachment.html> |
Copyright © 1999-2021 by the D Language Foundation