Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Wolfgang Riedmann" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: CreateThread vs. CreateVOThread Date: Thu, 5 Aug 2021 11:47:06 +0200 Lines: 20 Message-ID: References: <29915aac-da35-4455-b403-c1fec00692e3n@googlegroups.com> <9405fc40-7ecc-44e1-a60c-dd57eb1242f0n@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: individual.net VOdCYFHZFhOiXSzId5kh4QIk1B5OKBy/3muFhZPneGC50YS9Y= Cancel-Lock: sha1:3t7cAiifTxAEMxD+N3Y/bZVjbYM= User-Agent: XanaNews/1.18.1.6 Xref: csiph.com comp.lang.clipper.visual-objects:13411 Hi Robert, > I guess I will post the code of my thread func, given the responses > I'm getting :) And the question I'm trying to have answered: Would > the garbage collector ever initiate on this thread if I start it with > CreateThread()? I don't want it to. this code should be safe, but nevertheless I would use CreateVOThread. But I think that the GC would never kick in here as you have no local variables or other things that could make him kick in. But as Jamal wrote: the only person you can give a correct answer is Robert v.d.Hulst, and you can reach him through the X# forum. I would do that as fast as possible as it is holiday time and he may be absent the next weeks for holiday. Wolfgang