Re: Regarding Cigarette Smoker's problem

Jesper Louis Andersen <[email protected]>
Newsgroups gmane.comp.lang.erlang.general
Message-ID <CAGrdgiXvq5Lc4oNZ8q-SEsZ46oXxzxV32cJAnd1as-s1JqMs4Q@mail.gmail.com>
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 :)

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.

On Mon, Nov 9, 2020 at 9:16 AM AshiSh Kulkarni <[email protected]> wrote:

> Hello,
> 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.
>
> Thank You.
>


-- 
J.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.