Hello everybody
i am trying to implement a winsocket server under win2k. Is fpc 1.0.4 in general not supporting multithreading or can i use it, if i am not using file I/O, memory handling etc. In other words, which parts of the rtl should not be used in a multithreading application?
Any help will be appreciated
Benno J. Mengis
Mailing lists / fpc-pascal / 2001-09
Multi threading under win32
3 messages · 3 people · –
- BBenno J. Mengis 1
- CCarlo Kok 1
- MMarco van de Voort 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
----- Original Message -----
Earlier message 24 lines
From: "Benno J. Mengis"
To:
Sent: Saturday, September 01, 2001 8:28 PM
Subject: [fpc-pascal]Multi threading under win32
> Hello everybody
> i am trying to implement a winsocket server under win2k. Is fpc 1.0.4 in
> general not supporting multithreading or can i use it, if i am not using
> file I/O, memory handling etc. In other words, which parts of the rtl
should
> not be used in a multithreading application?
How are you not going to use the memory manager? You need it for almost
everything (classes, getmem, new, freemem, dispose)
> Any help will be appreciated
> Benno J. Mengis
>
>
> _______________________________________________
> fpc-pascal maillist -
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
Show quoted text 9 lines
> Hello everybody
> i am trying to implement a winsocket server under win2k. Is fpc 1.0.4 in
> general not supporting multithreading or can i use it, if i am not using
> file I/O, memory handling etc. In other words, which parts of the rtl
should
> not be used in a multithreading application?
How are you not going to use the memory manager? You need it for almost
everything (classes, getmem, new, freemem, dispose)
Only use the mem manager and do construction of classes in one thread.
