Re: [Harbour] SF.net SVN: harbour-project:[11614] trunk/harbour

2009-07-06 Thread Przemyslaw Czerpak
On Mon, 06 Jul 2009, Phil Krylov wrote: Hi, > Did you ever experiment with pthread-compatible and non-compatible > threading libs in DJGPP contribs? There are some, although I haven't > tried any. No I haven't. I haven't even know that they exist. I'll look at it in some spare time. best regard

Re: [Harbour] SF.net SVN: harbour-project:[11614] trunk/harbour

2009-07-06 Thread Phil Krylov
On Fri, Jul 3, 2009 at 10:29 AM, wrote: >      Of course it does not mean that Harbour adds in some magic way >      thread support to OS-es which does not support threads like DOS. Did you ever experiment with pthread-compatible and non-compatible threading libs in DJGPP contribs? There are some

Re: [Harbour] SF.net SVN: harbour-project:[11614] trunk/harbour

2009-07-03 Thread Teo Fonrouge
On 03/07/2009, at 12:48 p.m., Viktor Szakáts wrote: AFAICS, right now HVM-Threads and OS-Threads models are mutually exclusive. So, enabling HVM-Threads just to support background process ala xhb, will block the usage of OS-Threads on such scenarios. Of course I may be wrong. So, backg

Re: [Harbour] SF.net SVN: harbour-project:[11614] trunk/harbour

2009-07-03 Thread Viktor Szakáts
> AFAICS, right now HVM-Threads and OS-Threads models are mutually exclusive. > > So, enabling HVM-Threads just to support background process ala xhb, will > block the usage of OS-Threads on such scenarios. Of course I may be wrong. > > So, background process (xhb) should be implemented by using th

Re: [Harbour] SF.net SVN: harbour-project:[11614] trunk/harbour

2009-07-03 Thread Teo Fonrouge
On 03/07/2009, at 12:17 p.m., Viktor Szakáts wrote: BTW, now it's be possible to implement background processes (in xhb lib) using MT, since it's available on all platforms :) AFAICS, right now HVM-Threads and OS-Threads models are mutually exclusive. So, enabling HVM-Threads just to sup

Re: [Harbour] SF.net SVN: harbour-project:[11614] trunk/harbour

2009-07-03 Thread Viktor Szakáts
BTW, now it's be possible to implement background processes (in xhb lib) using MT, since it's available on all platforms :) Brgds, Viktor On 2009.07.03., at 18:24, Teo Fonrouge wrote: On 03/07/2009, at 01:29 a.m., dru...@users.sourceforge.net wrote: Revision: 11614 http://harbour-

Re: [Harbour] SF.net SVN: harbour-project:[11614] trunk/harbour

2009-07-03 Thread Teo Fonrouge
On 03/07/2009, at 01:29 a.m., dru...@users.sourceforge.net wrote: Revision: 11614 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11614&view=rev Author: druzus Date: 2009-07-03 06:29:26 + (Fri, 03 Jul 2009) Log Message: --- 2009-07-03 08:28 UTC+0200

Re: [Harbour] SF.net SVN: harbour-project:[11614] trunk/harbour

2009-07-03 Thread Francesco Saverio Giudice
Il 03/07/2009 8.29, dru...@users.sourceforge.net ha scritto: Revision: 11614 Have a fun with new toy ;-) Great! Thank you very much Best regards Francesco ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/

Re: [Harbour] SF.net SVN: harbour-project:[11614] trunk/harbour

2009-07-03 Thread Mindaugas Kavaliauskas
+ implemented OS independent task switching system Have a fun with new toy ;-) Hi, great! I found my 11 years old assembler code implementing such thing for Turbo Pascal, but I could not imagine, this can be done in a platform independent, compiler independent, and portable way.

Re: [Harbour] SF.net SVN: harbour-project:[11614] trunk/harbour

2009-07-03 Thread Viktor Szakáts
One addition to previous mail: In MT mode (even if there is only one job), HB_COMPILE() is launched in a separate thread in hbmk2. (I'll change hbmk2 to do it in current thread, that's pbly better for performance.) Brgds, Viktor On 2009.07.03., at 13:25, Viktor Szakáts wrote: Hi, When tryin

Re: [Harbour] SF.net SVN: harbour-project:[11614] trunk/harbour

2009-07-03 Thread Viktor Szakáts
Hi, When trying to use DJGPP MT build of hbmk2, it GPFs inside HB_COMPILE() call: [ it works when using -hb10 to force using external harbour.exe for compilation. It also works with non-MT build of DJGPP hbmk2.exe. ] --- C:\hb2b2dj\bin>dj hbmk2.exe hello.prg Setting environment for using DJGPP

Re: [Harbour] SF.net SVN: harbour-project:[11614] trunk/harbour

2009-07-03 Thread Lorenzo Fiorini
On Fri, Jul 3, 2009 at 8:29 AM, wrote: >      Have a fun with new toy ;-) Many thanks. best regards, Lorenzo ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] SF.net SVN: harbour-project:[11614] trunk/harbour

2009-07-03 Thread Viktor Szakáts
wew, great, hats off! I'll enable -mt in hbmk2 ASAP. I'll also change its Makefile to always build with hbvmmt on DOS. Brgds, Viktor On 2009.07.03., at 8:29, dru...@users.sourceforge.net wrote: Revision: 11614 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11614&vie

Re: [Harbour] SF.net SVN: harbour-project:[11614] trunk/harbour

2009-07-03 Thread Bill Smith
- Original Message - From: dru...@users.sourceforge.net To: harbour@harbour-project.org Sent: Thursday, July 02, 2009 11:29 PM Subject: [Harbour] SF.net SVN: harbour-project:[11614] trunk/harbour Revision: 11614 Have a fun with new toy ;-) The real fun is appreciating such

Re: [Harbour] SF.net SVN: harbour-project:[11614] trunk/harbour

2009-07-02 Thread Pritpal Bedi
Hi druzus wrote: > > Revision: 11614 > > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11614&view=rev > Author: druzus > Date: 2009-07-03 06:29:26 + (Fri, 03 Jul 2009) > A few questions: 1) Under what circumstances should we use task switching over real

Re: [Harbour] SF.net SVN: harbour-project:[11614] trunk/harbour

2009-07-02 Thread Pritpal Bedi
Hello Przemek druzus wrote: > > Revision: 11614 > > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11614&view=rev > Author: druzus > Date: 2009-07-03 06:29:26 + (Fri, 03 Jul 2009) > > + implemented OS independent task switching system - it gives PTHREAD

[Harbour] SF.net SVN: harbour-project:[11614] trunk/harbour

2009-07-02 Thread druzus
Revision: 11614 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=11614&view=rev Author: druzus Date: 2009-07-03 06:29:26 + (Fri, 03 Jul 2009) Log Message: --- 2009-07-03 08:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/include/hbtas