<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Since you are having some errors, it would be far better to describe what you are trying to do, and post the code somewhere we can take a look at it (gists on github for instance, but other pastebins might also work). We aren't a homework ATM, sorry :)</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">The problem is interesting in that there are multiple solutions to the problem, and much of the good stuff comes from discussing said solutions. Part of the game is to understand why (counting) semaphores implemented naively will not work and deadlocks.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 9, 2020 at 9:16 AM AshiSh Kulkarni <<a href="mailto:kul2971@gmail.com">kul2971@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello,</div><div>I am new to erlang. And I am trying to implement
the Cigarette Smoker's Problem In Erlang,but i'm having some errors. So
if anybody has already implemented the code in erlang, plz can you mail
me ASAP.</div><div><br></div><div>Thank You.</div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">J.</div>