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


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

Re: Thread-safe garbage collector

From "Jamal" <vodotnet_nospam@yahoo.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Thread-safe garbage collector
Date 2013-01-28 10:25 -0500
Organization A noiseless patient Spider
Message-ID <ke6592$5ik$1@dont-email.me> (permalink)
References <ca4c37d9-767f-4710-98cf-c8c8c9238e73@googlegroups.com> <kdju0j$n33$1@dont-email.me> <79dfed67-ce5b-43d7-8ffb-3307526790ce@googlegroups.com> <ke4ul6$k4g$2@dont-email.me> <ke5e4k$toq$1@dont-email.me>

Show all headers | View raw


Dirk,

It am using 2.8 (sp4) but I don't know what version exactly that statement 
was added in.

Jamal



"Dirk (Belgium)"  wrote in message news:ke5e4k$toq$1@dont-email.me...

Jamal,

In which version of the help file is this written?
VO 2.5 ?
VO 2.6 ?
VO 2.7 ?
VO 2.8 ?

Dirk

================


Jamal wrote:

> Yet in another part of the VO help it says:
>
> "Note: The kernel runtime support (garbage collector) has been made
> thread-safe in this version of Visual Objects, easing the development
> of multithreaded applications.  Thread support is a basic requisite
> for building server components, such as ISAPI extensions or
> components running in an application server framework.  For an
> example of multithreading, see the Multithreaded Standard MDI
> Application, which is accessible from the Samples tab page of the
> Application Gallery."
>
> Jamal
>
> wrote in message
> news:79dfed67-ce5b-43d7-8ffb-3307526790ce@googlegroups.com...
>
> Arne, experience in thread-safe programming is a basic axiom. I do
> not even argue about it. I'm just saying that GC is not designed well
> enough to be thread-safe.  Let me cite some paragraphs from CAVO's
> help:
>
> ------------------------------
> When multiple threads are running, each dynamic memory pointer
> becomes a shared resource. One thread might load a pointer to a
> string into a register. (The GC can only update memory locations, not
> registers.) Before actually performing an operation with that
> pointer, execution is transferred to another thread that triggers the
> GC. Now the string referred to by the register in the first thread is
> moved, and when execution returns to the first thread, the pointer in
> the register is not valid anymore.
>
> The problem described above WILL BE RESOLVED IN A FUTURE RELEASE of
> Visual Objects, but right now the programmer has to be aware of it.
> ------------------------------
>
> So I'm just asking, when that "future release" is going to be
> released ? :)



--  

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


Thread

Thread-safe garbage collector serggio2011@gmail.com - 2013-01-18 11:08 -0800
  Re: Thread-safe garbage collector "Valery N." <mustangsoftcom@gmail.com> - 2013-01-18 13:54 -0800
  Re: Thread-safe garbage collector "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> - 2013-01-21 18:30 +0100
    Re: Thread-safe garbage collector serggio2011@gmail.com - 2013-01-24 07:57 -0800
      Re: Thread-safe garbage collector "Ginny Caughey" <gcaughey@online.hotmail.com> - 2013-01-25 09:48 -0500
      Re: Thread-safe garbage collector "Arne Ortlinghaus" <Arne.Ortlinghaus@acs.it> - 2013-01-25 18:40 +0100
        Re: Thread-safe garbage collector "Ginny Caughey" <gcaughey@online.hotmail.com> - 2013-01-26 07:48 -0500
      Re: Thread-safe garbage collector "Valery N." <mustangsoftcom@gmail.com> - 2013-01-27 07:34 -0800
      Re: Thread-safe garbage collector "Jamal" <vodotnet_nospam@yahoo.com> - 2013-01-25 15:23 -0500
        Re: Thread-safe garbage collector "Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be> - 2013-01-28 08:50 +0000
          Re: Thread-safe garbage collector serggio2011@gmail.com - 2013-01-28 03:43 -0800
          Re: Thread-safe garbage collector "Jamal" <vodotnet_nospam@yahoo.com> - 2013-01-28 10:25 -0500

csiph-web