[fpc-devel] Threads and alot of crap continued

Vinzent Hoefler JeLlyFish.software at gmx.net
Wed Nov 8 11:26:19 CET 2006


On Wednesday 08 November 2006 10:14, Michael Schnell wrote:

> If you take a look the start of this thread, I mentioned that after
> implementing Delphi/Lazarus like behavior for the main thread without
> the need for a GUI, I'd like to enhance the concept by optionally
> having an TApplication object for any thread (e.g.
> TThread.Application) and thus having an event scheduler for same.

Sorry, if it caused confusion, but I don't know about TApplication or 
its particular implementation. I don't do GUI. ;) I was just reading 
about timer objects ... sorry.

> By this it would be possible to implement TTimer in a way that it's
> callbacks can be fired in the context of a thread and thus
> "asynchronous timer event" are possible in a completely compatible
> way, allowing the user to define, regarding what context the event is
> asynchronous. IMHO this would be a great plus for any embedded
> "real-time" use of FPC.

Now we're talking. :)


Vinzent.




More information about the fpc-devel mailing list