Przemyslaw Czerpak 7100efa590 2012-11-16 11:35 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/contrib/hbodbc/odbc.c
    * unlock sub-handle pointer items - it can be safely done
      because these items are marked as used inside parent item
      GC mark function.
    ; This code using pointer items is a little bit more complicated
      then it has to be.
      In current code pointer items can keep references only to other
      pointer items in the form which cannot create cyclic reference.
      They also do not have any references to codeblocks, arrays,
      objects, hashes or any other complex items set by user which
      may create indirectly cyclic reference. In such case it's
      possible to eliminate all GC mark functions and use directly
      items allocated by hb_itemNew() without unlocking them with
      hb_gcUnlock(). By default all items allocated by hb_itemNew()
      are locked so GC automatically mark them and their GC memory
      blocks as used.
      It does not cause any speed or memory overhead so I left it
      as example for more complicated cases and as base for some
      potential extensions.
2012-11-16 10:35:21 +00:00
Description
Harbour Core — Reference source for Five development
172 MiB
Languages
C 80.3%
xBase 17.8%
Makefile 0.6%
C++ 0.4%
Harbour 0.4%
Other 0.3%