Re: Multitasking Preview Release

new topic     » goto parent     » topic index » view thread      » older message » newer message

I added full support for assembly and cdecl, but linux/freebsd is
still beyond me for the moment, I have no linux or freebsd box. Could
someone else do that?
http://www.RapidEuphoria.com/uploads/tdll2.zip

Dan

On 9/23/05, codepilot Gmail Account <codepilot at gmail.com> wrote:
>
> I can port it for assembly and cdcel, and probably linux/freebsd, but
> how do you call linux/freebsd and where are the manuals for the api's
> so I can find the threading support?
> Dan
>
> On 9/22/05, Vincent <guest at rapideuphoria.com> wrote:
> >
> >
> > posted by: Vincent <darkvincentdude at yahoo.com>
> >
> > codepilot Gmail Account wrote:
> > >
> > > with tdll you could have a situation where there is two enterences
> > > into a euphoria dll so I would use c_func for anything thats a
> > > euphoria dll.
> > > (ROB) Can two or more threads run on euphoria dlls without crashing,
> > > cause I really doubt it?
> > > Now If you really wanted to you should use tdll in that euphoria code
> > > that made the dll and you wouldn't have to worry about it blocking.
> > > Maybe later, small well-thought-out steps, we don't want to trip.
> > >
> > > Dan
> > >
> > > On 9/22/05, Robert Craig <guest at rapideuphoria.com> wrote:
> > > >
> > > >
> > > > posted by: Robert Craig <rds at RapidEuphoria.com>
> > > >
> > > > Juergen Luethje wrote:
> > > > > I wrote a plugin (a Windows DLL) for Total Commander. Sometimes, =
when
> > > > > the DLL reads/writes huge files, obviously Total Commander is not=
 able
> > > > > to update the optical appearance of its main window, until the DL=
L has
> > > > > finished its work.
> > > > >
> > > > > Can I do something to solve the problem now, without the new
> > > > > multitasking system? Can the new multitasking system help to writ=
e
> > > > > "more cooperative" DLLs?
> > > >
> > > > You either need some kind of non-blocking I/O, or you need
> > > > TDLL (Daniel Kluss) which creates a new O/S thread and returns
> > > > immediately. I assume it will be safe to run the Euphoria interpret=
er
> > > > in one O/S thread, and some DLL code in another.
> > > >
> > > > I'm not sure yet how multitasking is going to work with
> > > > Euphoria-coded DLLs. Main Euphoria programs and Euphoria-coded DLLs
> > > > don't even share the same routine ids. Probably a Euphoria DLL
> > > > could run its own tasks independent from the main program.
> > > >
> > > > Regards,
> > > >   Rob Craig
> > > >   Rapid Deployment Software
> > > >   <a href="http://www.RapidEuphoria.com">http://www.RapidEuphoria=
.com</a>
> > > >
> > > >
> > Cool little library you got there Dan, can you add support for the "cdc=
el" calling convention, and port it for Linux/FreeBSD? Because I have "zero=
" understanding of machine level coding with Euphoria, I cannot finish this=
 myself. Nevertheless this little library could be very useful to me in var=
ious cases, and I'm ready to vote for it upon completion. smile.
> >
> >
> > Regards,
> > Vincent
> >
> > ----------------------------------------------
> >     ___              __________      ___
> >    /__/\            /__________\    |\ _\
> >    \::\'\          //::::::::::\\   |'|::|
> >     \::\'\        //:::_::::_:::\\  |'|::|
> >      \::\'\      //::/  |::|  \::\\ |'|::|
> >       \::\'\    //::/   |::|   \::\\|'|::|
> >        \::\'\__//::/    |::|    \::\|'|::|
> >         \::\','/::/     |::|     \::\\|::|
> >          \::\_/::/      |::|      \::\|::|
> >           \::,::/       |::|       \:::::|
> >            \___/        |__|        \____|
> >
> >                         .``.
> >                         ',,'
> >
> >

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu