<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I coded a small 3 dining philosophers example (see attachment)<br>
My concern yet is - forks are a shared resource between the
processes (here philosophers) , how is GAMBAS enforcing atomicity of
access to this shared resource ?<br>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">RegardsĀ - UZI
<hr></div>
<div class="moz-cite-prefix">On 24/05/19 11:08 AM, Vinode Singh
Ujlain wrote:<br>
</div>
<blockquote type="cite"
cite="mid:e9af5130-6943-5c5b-4ce5-edf22690600d@gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p><font face="Helvetica, Arial, sans-serif">Dining philosophers
problem is one that most of us have coded during graduation /
post graduation courses.<br>
It amply teaches semaphore , interprocess shared memory
concepts. <br>
Has anyone in this forum attempted this using GAMBAS ? I am
keen to learn the equivalent of semaphore & shared memory
as implemented in GAMBAS<br>
<b>Any directions ? </b></font><br>
</p>
<p>RegardsĀ - UZI</p>
<div class="moz-signature">
<hr></div>
</blockquote>
</body>
</html>