Multithreading

Re: Multithreading

Postby fraxzi » Fri May 31, 2013 1:00 am

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
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: Multithreading

Postby Enrico Maria Giordano » Fri May 31, 2013 8:03 am

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
Enrico Maria Giordano
 
Posts: 8398
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Multithreading

Postby fraxzi » Sat Jun 01, 2013 12:20 am

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
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: Multithreading

Postby Enrico Maria Giordano » Sat Jun 01, 2013 7:51 am

Frances,

fraxzi wrote:That was 5 years ago though..


I wonder if the situation has changed since then...

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8398
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Multithreading

Postby hmpaquito » Sat Jun 01, 2013 8:14 am

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
hmpaquito
 
Posts: 1482
Joined: Thu Oct 30, 2008 2:37 pm

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: richard-service and 139 guests