× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: Passing ownership of object locks?
  • From: John Luebben <jluebben@xxxxxxxxxxxxxxxx>
  • Date: Thu, 30 Apr 1998 17:20:53 -0700

 I keep seeing references to 'Mutexes'  At the risk of ????

1. What is a 'mutex' ?
2. Use ?
3. Where can I find info?

TIA

-----Original Message-----
From:   Vernon Hamberg [SMTP:hambergv@goldengate.net]
Sent:   Wednesday, April 29, 1998 6:38 AM
To:     MIDRANGE-L@midrange.com
Cc:     bvining@vnet.IBM.COM
Subject:        Re: Passing ownership of object locks?

Bruce

At 12:49 PM 2/6/1998 CST, you wrote:
>John,
>
>I don't know that I ever saw an answer to your question of a while back,
>but for MI users (either directly or with ILE C/400) Mutex support is
>provided.  In QSYSINC/MIH header file you can find the includes for
>instructions such as CRTMTX (Create Mutex), LOCKMTX (Lock Mutex),
>MATMTX (Materialize Mutex), etc.  Mutex support has been in the system
>since V3r1 and is documented in the MI Functional Reference.
>
>To date there are, however, no callable APIs provided for Mutexes.
>
>Bruce Vining
>
>>
>>To follow up on this thread are mutexes available On the AS400?
>>Although  WRKACTJOB has an option to display job mutexes I have never
>>been able to find any reference in any manuals about this.
>>
>>On other systems mutexes are often used to perform an IF-ACTIVE type
>>function.  Does anybody know where I can find more information on
>>mutexes on the AS400 ?
>>
>>John L. Hall
>>Home Sales Company

Have I heard that any C functions can be called from ILE RPG, too? With
appropriate prototype declarations?

Cheers

Vernon Hamberg
Systems Software Programmer
Old Republic National Title Insurance Company
400 Second Avenue South
Minneapolis, MN  55401-2499
(612) 371-1111 x480


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

application/ms-tnef


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.