Storing pids
Joel Reymont
joelr1@REDACTED
Thu Jan 5 15:57:12 CET 2006
Well, how do I dump all the log entries that have a certain pid then?
Say, after all the nodes have gone down.
I would need to create a pid first then convert to binary and then
match on that binary. Unless of course I followed Matt's approach /
node-name, pid2, pid3/. No?
On Jan 5, 2006, at 2:41 PM, Per Hedeland wrote:
> ... doing
> term_to_binary/1 on a pid will result in something that fits your bill
> perfectly. It can even be binary_to_term'ed back to the correct
> representation of the original pid on a different node. (It can, but I
> wouldn't bet my life on it...:-)
--
http://wagerlabs.com/
More information about the erlang-questions
mailing list