For Programmers: Free Programming Magazines  


Home > Archive > Cobol > February 2005 > Reentrant w/out O-O (was: Treeviews)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Reentrant w/out O-O (was: Treeviews)
Lueko Willms

2005-02-26, 3:55 pm

.. On 25.02.05
wrote riplin@Azonic.co.nz (Richard)
on /COMP/LANG/COBOL
in 1109373301.700645.160540@l41g2000cwc.googlegroups.com
about Re: Treeviews


r> In the case of a GUI application this may be divided into many modules
r> or subroutines, for example each catering for a different dialog.
r> This means that each can only be used once at one time in a run-unit.
r> If, for example, you have a 'message box' subroutine then if it is
r> activated from two parts of the program (ie it is active and another
r> routine calls it) then the program may crash. If the code is in a
r> class then multiple instances can be created without crashing.


But that has nothing to do with OO, but with reentrancy.

One can have reentrant programs, i.e. programs which are loaded
once to memory, and quasi-simulatenously executed by many different
users without Object-Orientation.

This is particularly for DLL or similar libraries and for
transaction programs.


Yours,
Lüko Willms http://www.willms-edv.de
/--------- L.WILLMS@jpberlin.de -- Alle Rechte vorbehalten --

Er urteilt nach dem jedesmaligen Aggregatzustand seiner Empfindungen. -G.C.Lichtenberg
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com