[erlang-questions] queues (previously: documentation of data structures)
Tue Dec 11 14:40:36 CET 2007
I saw a bug in your code: myqueue:delete/1 dose not stop the queue process.
2007/12/11, Andras Georgy Bekes <>:
> Why having a process for each queue entry???
> Ok, you can change a specific element once you've put on the
> queue, but you probably don't want that.
> Why not just use the message queue of Erlang?
> (see attached module --- very simple)
> - one process for each queue
> - same efficiency as the message queues of the VM
> (hope you're satisfied with that)
> - works when several processes use a common queue
> - copies each queued element twice (just like your solution)
> - ???
> erlang-questions mailing list
More information about the erlang-questions