Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #10875 > unrolled thread

Multithread paper from Ginny Caughey.

Started byLucio Chiessi <lucio@vorio.eti.br>
First post2017-08-16 11:07 -0700
Last post2017-08-17 18:59 +0200
Articles 6 — 4 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Multithread paper from Ginny Caughey. Lucio Chiessi <lucio@vorio.eti.br> - 2017-08-16 11:07 -0700
    Re: Multithread paper from Ginny Caughey. "Jamal" <nospam@example.com> - 2017-08-16 22:12 -0400
    Re: Multithread paper from Ginny Caughey. "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-08-17 08:36 +0200
    Re: Multithread paper from Ginny Caughey. Martin <Martin@spam.spam> - 2017-08-17 09:32 +0100
    Re: Multithread paper from Ginny Caughey. Lucio Chiessi <lucio@vorio.eti.br> - 2017-08-17 08:01 -0700
      Re: Multithread paper from Ginny Caughey. "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-08-17 18:59 +0200

#10875 — Multithread paper from Ginny Caughey.

FromLucio Chiessi <lucio@vorio.eti.br>
Date2017-08-16 11:07 -0700
SubjectMultithread paper from Ginny Caughey.
Message-ID<ab179927-56d6-41a7-9551-50839eb2fdd1@googlegroups.com>
All the best for all.

I'm using VO 2.8 SP4(2838) and need to start using Multithread in VO to have a data import job, which runs in the background along with my application. Could someone send me, or say where I can find, the Ginny Caughey's paper?

Thanks a lot!!

Lucio Chiessi

[toc] | [next] | [standalone]


#10876

From"Jamal" <nospam@example.com>
Date2017-08-16 22:12 -0400
Message-ID<on2u2d$1vl$1@gioia.aioe.org>
In reply to#10875
Hi Lucio,

Why do you need multithreading for this? Don't complicate your life!
Just write your other app and make sure your files are opened in shared mode 
in both apps if you are using DBFCDX.
If you are using SQL vis different access frameworks, it should be no issue 
either.

Jamal


"Lucio Chiessi"  wrote in message 
news:ab179927-56d6-41a7-9551-50839eb2fdd1@googlegroups.com...

All the best for all.

I'm using VO 2.8 SP4(2838) and need to start using Multithread in VO to have 
a data import job, which runs in the background along with my application. 
Could someone send me, or say where I can find, the Ginny Caughey's paper?

Thanks a lot!!

Lucio Chiessi 

[toc] | [prev] | [next] | [standalone]


#10878

From"Wolfgang Riedmann" <wriedmann@gmail.com>
Date2017-08-17 08:36 +0200
Message-ID<evkrqoF35tfU1@mid.individual.net>
In reply to#10875
Hi Lucio,

the garbage collector is not threadsafe, and the RDDs are not.

So your background thread cannot use the RDDs and cannot use dynamic
variables like strings or objects.

Better you split up your application in more processes or switch to X#
for this purpose.

Wolfgang

Lucio Chiessi wrote:

> All the best for all.
> 
> I'm using VO 2.8 SP4(2838) and need to start using Multithread in VO
> to have a data import job, which runs in the background along with my
> application. Could someone send me, or say where I can find, the
> Ginny Caughey's paper?
> 
> Thanks a lot!!
> 
> Lucio Chiessi




-- 

[toc] | [prev] | [next] | [standalone]


#10879

FromMartin <Martin@spam.spam>
Date2017-08-17 09:32 +0100
Message-ID<on3k3c$grc$1@dont-email.me>
In reply to#10875
If you are trying to do background database handling in another thread I 
have never been able to access a database in an alternate thread.

Best to have another executable doing this, or a timer event on the main 
thread.

On 16/08/2017 19:07, Lucio Chiessi wrote:
> All the best for all.
> 
> I'm using VO 2.8 SP4(2838) and need to start using Multithread in VO to have a data import job, which runs in the background along with my application. Could someone send me, or say where I can find, the Ginny Caughey's paper?
> 
> Thanks a lot!!
> 
> Lucio Chiessi
> 

[toc] | [prev] | [next] | [standalone]


#10883

FromLucio Chiessi <lucio@vorio.eti.br>
Date2017-08-17 08:01 -0700
Message-ID<1510dcc6-6dae-45dc-9eaa-2467095b7e05@googlegroups.com>
In reply to#10875
Got it. You convinced me not to use that!!

Thanks a lot Jamal, Wolfgang and Martin.

I'm considering getting to know and start using X#. Today, we use VO2.8 and PostgreSQL via ODBC (using VO SQL Classes). Everything works fine. But I do not know if it would be easy to migrate VO code to X# and could use Crystal Reports and bBrowser in X #.

All my Best!

Lucio Chiessi

Em quarta-feira, 16 de agosto de 2017 15:07:57 UTC-3, Lucio Chiessi  escreveu:
> All the best for all.
> 
> I'm using VO 2.8 SP4(2838) and need to start using Multithread in VO to have a data import job, which runs in the background along with my application. Could someone send me, or say where I can find, the Ginny Caughey's paper?
> 
> Thanks a lot!!
> 
> Lucio Chiessi

[toc] | [prev] | [next] | [standalone]


#10885

From"Wolfgang Riedmann" <wriedmann@gmail.com>
Date2017-08-17 18:59 +0200
Message-ID<evm0bcFbft9U1@mid.individual.net>
In reply to#10883
Hi Lucio,

It depends a lot of your code if a migration is easy or not, but at
least there is a migration route and not a dead end.

Wolfgang 

Lucio Chiessi wrote:

> Got it. You convinced me not to use that!!
> 
> Thanks a lot Jamal, Wolfgang and Martin.
> 
> I'm considering getting to know and start using X#. Today, we use
> VO2.8 and PostgreSQL via ODBC (using VO SQL Classes). Everything
> works fine. But I do not know if it would be easy to migrate VO code
> to X# and could use Crystal Reports and bBrowser in X #.
> 
> All my Best!
> 
> Lucio Chiessi
> 
> Em quarta-feira, 16 de agosto de 2017 15:07:57 UTC-3, Lucio Chiessi
> escreveu:
> > All the best for all.
> > 
> > I'm using VO 2.8 SP4(2838) and need to start using Multithread in
> > VO to have a data import job, which runs in the background along
> > with my application. Could someone send me, or say where I can
> > find, the Ginny Caughey's paper?
> > 
> > Thanks a lot!!
> > 
> > Lucio Chiessi



-- 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web