From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,4c3472c4a04af2c1 X-Google-Attributes: gidfa528,public From: Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) Subject: Re: DEC Unix equivalent for VMS' SYS$ENQ() Date: 2000/05/07 Message-ID: #1/1 X-Deja-AN: 620133174 References: <8evf01$1hde@r02n01.cac.psu.edu> <957595904.16003.0.nnrp-09.c2deb51d@news.demon.co.uk> Followup-To: comp.unix.tru64 X-Trace: news.decus.org 957660090 8593 KILGALLEN [216.44.122.34] Organization: LJK Software Reply-To: Kilgallen@eisner.decus.org.nospam Newsgroups: comp.unix.tru64 In article <957595904.16003.0.nnrp-09.c2deb51d@news.demon.co.uk>, "Adam Price" writes: > > Lee Newman wrote in message <8evf01$1hde@r02n01.cac.psu.edu>... >>Being new to the world of Unix, I have a newbie-style question...is there >>anything in Digital Unix equivalent to the VMS system routine SYS$ENQ()? >>If there is no comparable system routine, how do people implement that type >>of functionality? Thanks in advance... > > What does SYS$ENQ() do? > This is a unix group, and not all of us are familiar with VMS system internals. > You might try asking in comp.sys.dec where many people who are knowledgeable > about such cross platform issues tend to hang out. I don't like to take pleasure in other people's discomfort, but it is refreshing to see some counterpart to all the Unix folk who ask questions in comp.os.vms phrased entirely in Unix terms :-) SYS$ENQ is the basic call for the VMS Distributed Lock Manager, for those who are calling it explicitly rather than just relying on use that the file system makes of the Lock Manager. If the marketing claims are to be believed, a equivalent entrypoint should have arrived with the TruCluster add-on to Tru64 V5.0. That is, marketing documents are going to be oblivious to routine calls, but they claim there is a distributed lock manager throughout a TruCluster, and there is not much use in having one if there is no way to call it. There is no reason to expect (or want) the name of the entrypoint for TruClusters to be similar to the name on VMS, but the features should be about the same, as the ones on VMS were derived from what was required to support database packages.