On Tue, 2007-08-21 at 16:40 +0300, Rhythmic Fistman wrote:
> On 8/19/07, skaller <[EMAIL PROTECTED]> wrote:
> > On Sun, 2007-08-19 at 13:13 +0300, Rhythmic Fistman wrote:
> >
> > > My driver itself cheats in this respect, using
> > > an schannel with some c code that reschedules every fthread
> >
On Tue, 2007-08-21 at 16:38 +0300, Rhythmic Fistman wrote:
> On 8/19/07, skaller <[EMAIL PROTECTED]> wrote:
> called timing fns. No, my problem here turned out to be a form
> of starvation: the flx runtime when executing a read or write
> always reschedules an fthread, however instead of that thr
On 8/19/07, skaller <[EMAIL PROTECTED]> wrote:
> On Sun, 2007-08-19 at 13:13 +0300, Rhythmic Fistman wrote:
>
> > My driver itself cheats in this respect, using
> > an schannel with some c code that reschedules every fthread
> > hanging on an schannel, as though you executed a "read n times,
> > d
On 8/19/07, skaller <[EMAIL PROTECTED]> wrote:
> So the point of this note is that you should carefully
> restrict the visibility of any channels you create
> to the fthreads that communicate using them: if any
> active thread COULD use the channel, other threads
> waiting on it will not die.
I t
On Sun, 2007-08-19 at 13:13 +0300, Rhythmic Fistman wrote:
> My driver itself cheats in this respect, using
> an schannel with some c code that reschedules every fthread
> hanging on an schannel, as though you executed a "read n times,
> discarding result". Um.
I actually think you should use t
On Sun, 2007-08-19 at 13:13 +0300, Rhythmic Fistman wrote:
[]
[CCing to Andreas in case he can throw more light on this]
A general note on fthreads and schannels. As Andreas
Rossberg noted on LtU (Lambda the Ultimate), Felix fthread/schannel
is a "very poor man's promise/future".
As I understand
On Sun, 2007-08-19 at 13:13 +0300, Rhythmic Fistman wrote:
> p.s. I typedefef the schannel[event_type] thing, but that doesn't seem
> to create the associated constructor (mk_mynewname()), I can use the
> new name but I still have to remember the original type, saying
> var blah = mk_schannel[even
On Sun, 2007-08-19 at 13:13 +0300, Rhythmic Fistman wrote:
> My driver itself cheats in this respect, using
> an schannel with some c code that reschedules every fthread
> hanging on an schannel, as though you executed a "read n times,
> discarding result". Um. So in conclusion, I think I'm close