Re: Multitasking Preview Release
- Posted by codepilot Gmail Account <codepilot at gmail.com> Sep 23, 2005
- 588 views
fork=creathread query_module=getprocaddress uselib=loadlibrary am I correct, also I don't actually have a nix box so I can test anything. Dan > > Daniel > > > 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 co= de > > > > 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 n= ot able > > > > > > to update the optical appearance of its main window, until the = DLL 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 wr= ite > > > > > > "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 interpr= eter > > > > > 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 DL= Ls > > > > > 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.RapidEuphor= ia.com</a> > > > > > > > > > > > > > Cool little library you got there Dan, can you add support for the "c= dcel" calling convention, and port it for Linux/FreeBSD? Because I have "ze= ro" understanding of machine level coding with Euphoria, I cannot finish th= is myself. Nevertheless this little library could be very useful to me in v= arious cases, and I'm ready to vote for it upon completion. . > > > > > > > > > Regards, > > > Vincent > > > > > > ---------------------------------------------- > > > ___ __________ ___ > > > /__/\ /__________\ |\ _\ > > > \::\'\ //::::::::::\\ |'|::| > > > \::\'\ //:::_::::_:::\\ |'|::| > > > \::\'\ //::/ |::| \::\\ |'|::| > > > \::\'\ //::/ |::| \::\\|'|::| > > > \::\'\__//::/ |::| \::\|'|::| > > > \::\','/::/ |::| \::\\|::| > > > \::\_/::/ |::| \::\|::| > > > \::,::/ |::| \:::::| > > > \___/ |__| \____| > > > > > > .``. > > > ',,' > > > > > >