Hello,
I think that what you did is the only right solution. Synchronizing
threads is tricky, and the default mechanism is meant for GUI apps
where the main thread is the GUI thread.
Michael.
On Sun, 16 May 2010, Roland Schaefer wrote:
Allow me to bump this. I'd appreciate any comments, ev
On Sat, May 15, 2010 22:48, "Vinzent Höfler" wrote:
> Bihar Anwar
>
>> I've tried googling and searching FPC mailing list for information about
>> this one, but I found nothing.
>> I just found in http://www.delorie.com/djgpp/v2faq/faq3_1.html that
>> DJGPP requires MS-DOS version 3.1 or later.
Michael Van Canneyt wrote:
Hello,
I think that what you did is the only right solution. Synchronizing
threads is tricky, and the default mechanism is meant for GUI apps where
the main thread is the GUI thread.
I wish there was a way for a thread to asynchronously notify the main thread the
To execute commands in Linux it goes with fpsystem();
Is there a similar function for Windows?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On 17 May 2010 15:04, Rainer Stratmann wrote:
> To execute commands in Linux it goes with fpsystem();
> Is there a similar function for Windows?
There are some options here:
http://wiki.lazarus.freepascal.org/Executing_External_Programs
Henry
___
fpc-
On 17 May 2010, at 16:00, Brad Campbell wrote:
Michael Van Canneyt wrote:
I think that what you did is the only right solution. Synchronizing
threads is tricky, and the default mechanism is meant for GUI apps
where the main thread is the GUI thread.
I wish there was a way for a thread to a
Tomas Hajny on May 17, 2010 5:43:07 PM wrote:
>However, I don't think that anyone tried it with anything older than
>MS-DOS 5.0 recently.
So, the safe assumption is fpc-compiled programs should run smoothly in
at least MS-DOS 5.0. Thanks for the info.
>If you really need to use an even older
Jonas Maebe wrote:
On 17 May 2010, at 16:00, Brad Campbell wrote:
I wish there was a way for a thread to asynchronously notify the main
thread there is a Synchronize() pending. On Linux I can insert an fd()
for a pipe into the gtk event loop and poke data into the pipe from
the thread. It's
Hello,
I posted a question about timing some time a go and got an answer; but let down
for a while because other problems required my attention. So, I need a simple
func to get the current time; mainly to benchmark various implementation
choices, possibly for other needs.
The timer module brin
Hello,
I have recently worked on a project that required creating a remote
thread in another Process. The thread is injected by allocating memory
in the target process and copying my thread as well as some data. This
thread surely needs to call Windows APIs, but curiously direct calls
to kernel32.
You can use EpikTimer for that:
http://wiki.lazarus.freepascal.org/EpikTimer
--
Felipe Monteiro de Carvalho
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
11 matches
Mail list logo