* shared memory under OpenVMS @ 1996-10-11 4:00 Roger Woodward 1996-10-11 4:00 ` Martin Vorlaender 1996-10-11 4:00 ` bhcst4 0 siblings, 2 replies; 3+ messages in thread From: Roger Woodward @ 1996-10-11 4:00 UTC (permalink / raw) Hi there, Can anyone point me to a helpful resource that details how to set up and hook into shared memory under OpenVMS (via a C interface). thanks in advance for any help you can give me roger -- Roger Woodward Tel: +44 181 388 0409 Fax: +44 181 715 1771 Ema: rwoodwar@datlog.co.uk Web: http://www.datlog.co.uk/ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: shared memory under OpenVMS 1996-10-11 4:00 shared memory under OpenVMS Roger Woodward @ 1996-10-11 4:00 ` Martin Vorlaender 1996-10-11 4:00 ` bhcst4 1 sibling, 0 replies; 3+ messages in thread From: Martin Vorlaender @ 1996-10-11 4:00 UTC (permalink / raw) Roger Woodward (rwoodwar@datlog.co.uk) wrote: : Can anyone point me to a helpful resource that details how to set up : and hook into shared memory under OpenVMS (via a C interface). Stephen Hoffman of DEC put up a Shareable Image Cookbook at http://www.partner.digital.com/www-swdev/pages - /Home/TECH/faqs/ovms/ovms-shexe-cook.html Besides that, all the folder http://www.partner.digital.com/www-swdev/ contains useful information on some program development topics under OpenVMS. Hope it helps, Martin -- | Martin Vorlaender | VMS programmer "UNIX is user friendly. | work: mv@pdv-systeme.de It's just selective about | home: martin@radiogaga.harz.de who its friends are." | http://www.harz.de/~martin/ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: shared memory under OpenVMS 1996-10-11 4:00 shared memory under OpenVMS Roger Woodward 1996-10-11 4:00 ` Martin Vorlaender @ 1996-10-11 4:00 ` bhcst4 1 sibling, 0 replies; 3+ messages in thread From: bhcst4 @ 1996-10-11 4:00 UTC (permalink / raw) :In article <53l8fq$58d@drain.datlog.co.uk:, rwoodwar@datlog.co.uk (Roger Woodward) writes: : Hi there, : : Can anyone point me to a helpful resource that details how to set up : and hook into shared memory under OpenVMS (via a C interface). : : thanks in advance for any help you can give me : : roger : : -- If by 'shared memory' you mean a global section, here's a little fragment, but you'll really have to read the System Services reference guide to understand how to get exactly what you want in terms of a global section. Look at sys$mgblsc() in addition to sys$crmpsc(). Ben Carter Systems & Networks University of Pittsburgh bhc+@pitt.edu (412)624-6470 ------------- #include secdef . . . Page_Count = ( sizeof( struct Monitor_Struct ) + 511 ) / 512; Status = sys$crmpsc( P0space, Mapadr, PSL$C_USER, SEC$M_GBL|SEC$M_DZRO|SEC$M_EXPREG|SEC$M_WRT|SEC$M_SYSGBL|SEC$M_PAGFIL|SEC$M_PERM, &LPD_MONITOR_Descr, 0, 0, 0, Page_Count, 0, 0xFF00, 0 ); if ( !( Status & 1 ) ) { printf( "\n\n%s Unable to create/map LPD_MONITOR section (%08X)", Prn_Time(), Status ); exit(0); } LPD_Monitor = ( struct Monitor_Struct * ) Mapadr[0]; . . . ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1996-10-11 4:00 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1996-10-11 4:00 shared memory under OpenVMS Roger Woodward 1996-10-11 4:00 ` Martin Vorlaender 1996-10-11 4:00 ` bhcst4
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox