Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #13535
| From | Franz Rachbauer <office@rachbauer.org> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Mult thread.. sample and discussion please |
| Date | 2022-02-07 13:19 +0100 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <str2oi$3pu$1@gioia.aioe.org> (permalink) |
| References | <b1cb965f-2b77-4471-9b50-e7935c58bb91n@googlegroups.com> <j5umckFb0tdU1@mid.individual.net> <c90fe8f2-f4d3-47a9-8b39-9214c79cb1c3n@googlegroups.com> <j6a40tFp9eU1@mid.individual.net> |
Why not do this thread in a sep app running on taskbar or in a service? Regards, Franz Am 06.02.2022 um 15:24 schrieb Wolfgang Riedmann: > Hi Phil, > > the VO development team has confirmed several times that the VO garbage > collector is not thread safe. > > So, if you use threads, you cannot use dynamically allocated variables > like strings and objects. > > The only possibility I see for you is to migrate to X#. Robert has done > miracles to make the runtime thread safe, and there every thread has > its own runtime state with its own settings. > So your main thread can have SetDeleted set to on, and one of your > spawned threads can have set it to off. Even the workarea numbers are > per thread. > > I can confirm you that the DBServer class in X# is thread safe as I use > it in WPF applications, and they need to be multithreaded to have a > responsive GUI. > > Wolfgang > > > Phil McGuinness wrote: > >> Jamal, Wolfgang >> >> Have it working ut in crashes it seems randomly. >> I am not sure is DBServer thread safe. >> I simply want a subset of data, open as DBSERVER and do some slow >> process to REST service. The crash seems relate totally to a field >> in Dbserver. >> >> With CreateVOThread is the a requirement to lock memory in a certain >> way. Could not find many samples. >> >> Did not want to write another whole service when my system is a >> Service. Have not got that far... it crashes in the IDE. >> >> Anybody elese experiences, pointers, gotta yas and frustrations. >> Little clues help >> >> Phil > > >
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll 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