From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,93435995d8aa380b,start X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,93435995d8aa380b,start X-Google-Attributes: gidf678f,public From: "mrsignor" Subject: VMS DEC-C and TRU64 DEC-C Date: 1999/11/20 Message-ID: #1/1 X-Deja-AN: 550782487 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Trace: typhoon1.gnilink.net 943063403 151.198.119.11 (Fri, 19 Nov 1999 21:03:23 EST) X-MSMail-Priority: Normal NNTP-Posting-Date: Fri, 19 Nov 1999 21:03:23 EST Newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc I am porting some code from OpenVMS (Alpha) to TRU64, but have come upon a few problems, quite serious from my perspective, with the compiler, or rather lack of comformity (it seems). Under OpenVMS i make regular use of the following pragmas, defined and supported within PALCODE. _PROBER + _PROBEW """""""""""""""""""""""""""""""" allows you to probe a buffer for read and/or write access. Most useful when writing API's, typical usage is to ensure that the underlying API has r/w access to the callers buffer. _INSQTI + INSQHI """""""""""""""""""""""""" This function inserts an entry at the front of a longword queue in an indivisible manner. This operation is interlocked against similar operations by other processors or devices in the system. Useful for enqueing work items from within an AST (signal handler), when the non-ast code be be SIMULATANEOUSLY de-queueing a work item, i.e you dont need to disable AST's/Block Signals. Also useful when using Pthreads. Examining the TRU64 documentation, there seems to be no equivalent. Q1) Do these functions exist, or an equivalent, if so where, and what are they called Q2) Assuming these functions don't exist, can anyone (from ComPaq) comment as to why they are not present, bearing in mind they are PALCODE routines. TIA