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


Groups > comp.lang.clipper.visual-objects > #13531

Re: Mult thread.. sample and discussion please

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Wolfgang Riedmann" <wriedmann@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Mult thread.. sample and discussion please
Date Wed, 2 Feb 2022 07:24:20 +0100
Lines 33
Message-ID <j5umckFb0tdU1@mid.individual.net> (permalink)
References <b1cb965f-2b77-4471-9b50-e7935c58bb91n@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
X-Trace individual.net Tool+2r596N5/RX7bHQi2wJ2ofwkbFReHRgIJp3eWA8RlbNVo=
Cancel-Lock sha1:CUy3008R6TKfJJ/3N4axpdnK77s=
User-Agent XanaNews/1.18.1.6
Xref csiph.com comp.lang.clipper.visual-objects:13531

Show key headers only | View raw


Hi Phil,

as Jamal wrote: never use threads in VO.

You can use them in X#, but if you have longer operations it may be
better to move them to background Windows services on some dedicated
machine and run them when the VO application sets a flag in the
database or writes some flag file.

Wolfgang

Phil McGuinness wrote:

> Have a VO GUI app runs lots of things via Dispatch..   but one of
> those things needs a good hour to run.  I do not want wait in current
> processes for this.. and happy to have background event running.
> Realise on single thread cannot get this to work.. it wants that
> length job to finish before moving on.
> 
> So CreateVOThread and have a function with the work to be done.
> Thought start this and do other things and that thread will finish..
> until needed again.
> 
> Can I do this with simple to CreateVOthread with the function and the
> main thread is processing again.   I did not see this.. and confused.
> 
> Any help welcome




-- 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Mult thread.. sample and discussion please Phil McGuinness <sherlocksoftware@gmail.com> - 2022-01-31 18:44 -0800
  Re: Mult thread.. sample and discussion please Jamal <nospam@example.com> - 2022-02-01 16:24 -0500
  Re: Mult thread.. sample and discussion please "Wolfgang Riedmann" <wriedmann@gmail.com> - 2022-02-02 07:24 +0100
    Re: Mult thread.. sample and discussion please Phil McGuinness <sherlocksoftware@gmail.com> - 2022-02-02 01:15 -0800
      Re: Mult thread.. sample and discussion please dlzc <dlzc1@cox.net> - 2022-02-02 06:22 -0800
      Re: Mult thread.. sample and discussion please "Wolfgang Riedmann" <wriedmann@gmail.com> - 2022-02-06 15:24 +0100
        Re: Mult thread.. sample and discussion please Franz Rachbauer <office@rachbauer.org> - 2022-02-07 13:19 +0100

csiph-web