Mercurial > cgi-bin > hgwebdir.cgi > VMS > C_Libraries > ParamHelper
view __brch__DEPRECATED_README @ 14:594c0ee5a2b9
deprecated default brch
| author | Me@portablequad |
|---|---|
| date | Mon, 13 Feb 2012 13:07:22 -0800 |
| parents | |
| children |
line source
2 There are two versions of the library -- one for pure C use, the other for use inside VMS or within applications written in a VMS-based language (IE, inside a top-level function or a call descendant of a top-level function) -- but only when the VMS is the "MC_shared" version.
4 The reason is that VMS that uses shared memory on multicores moves the SlaveVPs around among cores. But, the libC and glibC malloc stores info at the top of the stack (a "clever" hack), for a speed improvement. So, when VMS manipulates the stack pointer, and/or moves Slaves to different cores, the "free" seg faults (that was FUN to figure out ; ) So, this version of VMS implements its own malloc.
6 It is anticipated that the MC_split version, where each core has separate data, and messages are sent between cores, can handle malloc and free to use the glibC version.
8 For now, update to the version of the library you wish to use..
