Multithreading

User avatar
fraxzi
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines
Contact:

Re: Multithreading

Post by fraxzi »

Dear All,

Just want to share my experienced with xHarbour's MT.. I know everyone was (may not) disappointed.. but I gave up so count me in.. then I settled for background task..

I just want to point-out that there are alternative ways that some of you may already know..

My idea is create one.exe for the task one and two.exe for the task two.. both running on windows background or just minimized on start.. these programs use some-kinda-quorum file (.dbf/.ini) which checks the task completed/queued by the other.. they do that while main.exe operates normally by end-user.

My created apps.. generates reports by one.exe.. process data by two.exe.. while main.exe accepts user-inputs all at the same-time.. some-kinda-multithreading or whatever you called it.. the output was so pleasingly accepted..

Until MT on (x)Harbour matures.. Then I am willing to wait..

Just my 2 cents.
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Multithreading

Post by Enrico Maria Giordano »

fraxzi wrote:Dear All,

Just want to share my experienced with xHarbour's MT.. I know everyone was (may not) disappointed.. but I gave up so count me in.. then I settled for background task..
Which problems did you encounter using MT, exactly?

EMG
User avatar
fraxzi
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines
Contact:

Re: Multithreading

Post by fraxzi »

Dear EMG,

One of the problem I encountered was (xHarbour) it frequently hang on Win7 x64.. with WinXP x86 end-user experienced the same.. which I cant trace the caused.
That was 5 years ago though.. I settled to background task and wasn't able to look back with MT since then..

But I always fallow threads here about MT and how it grows-up.. :lol:
Kind Regards,
Frances

Fivewin for xHarbour v18.07
xHarbour v1.2.3.x
BCC 7.3 + PellesC8 ( Resource Compiler only)
ADS 10.1 / MariaDB
Crystal Reports 8.5/9.23 DE
xMate v1.15
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Multithreading

Post by Enrico Maria Giordano »

Frances,
fraxzi wrote:That was 5 years ago though..
I wonder if the situation has changed since then...

EMG
hmpaquito
Posts: 1200
Joined: Thu Oct 30, 2008 2:37 pm

Re: Multithreading

Post by hmpaquito »

Hello,

The Harbour and xHarbour multithreading are similar only in name. They are different implementations.
To me it is not valid as such any experience with xHarbour multithreading because it is well known for a long time the xHarbour multithreaded not work as well than Harbour.


regards
Post Reply