[D-runtime] Update request from tango runtime
Fawzi Mohamed
fawzi at gmx.ch
Fri Apr 15 07:15:29 PDT 2011
On 15-apr-11, at 15:29, Sean Kelly wrote:
> Oh the schedulers, related but different. It's a big change. Fawzi
> implemented that for some work he was doing. It seems a bit beyond
> the scope of what I'd intended for fibers, but I should give it a
> look. Fawzi, what do you think?
>
I think that the scheduler could be improved, the scheduler I
implemented for blip is completely external, and not in the runtime
(which indeed introduce some issues, but on the plus side one can
avoid it completely if not used.
The scheduler in the thread is not really used as far as I know, at
least not publically, it was some work by kris for I/O, personally I
would rip it out.
So I am a bit surprised tht he really needs it, I will ask him the
details.
Unification thread/fiber can be useful though. It has been a while
since I looked at the details, I will try to do some work on
parallelization, next week, so I will look if I can look at it...
ciao
Fawzi
> Sent from my iPhone
>
> On Apr 15, 2011, at 6:25 AM, Sean Kelly <sean at invisibleduck.org>
> wrote:
>
>> IIRC there's an issue where the state variable isn't modified
>> atomically and at a time where fibers can be multiplexed across
>> threads in a certain way. There's a ticket open for it somewhere.
>> I'd not made the change until now because it could wreck
>> performance in the normal case. I'll check out the post.
>>
>> Sent from my iPhone
>>
>> On Apr 15, 2011, at 4:05 AM, Steve Schveighoffer
>> <schveiguy at yahoo.com> wrote:
>>
>>> On the NG, there is a request to update druntime with changes
>>> implemented in Tango (for someone porting Tango to D2). I'm not
>>> super-familiar with fibers, so I don't want to reply to that
>>> person, but someone here should.
>>>
>>> -Steve
>>>
>>> _______________________________________________
>>> D-runtime mailing list
>>> D-runtime at puremagic.com
>>> http://lists.puremagic.com/mailman/listinfo/d-runtime
>> _______________________________________________
>> D-runtime mailing list
>> D-runtime at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/d-runtime
> _______________________________________________
> D-runtime mailing list
> D-runtime at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/d-runtime
More information about the D-runtime
mailing list