Implement serialization for Locations.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 26 Oct 2008 19:38:06 +0000 (20:38 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 26 Oct 2008 19:38:06 +0000 (20:38 +0100)
commitbe6de492fc71c2249e6d080a3e5050a4e0ad4334
tree44d61d40a90b8a5d92c05d1dab0c39911f4b3fd4
parent3fd0df9b84cdc9106907e4662103747838251f1c
Implement serialization for Locations.

* lib/Automake/Location.pm (serialize, deserialize): New
functions.  They allows to serialize a Location in an array, and
to restore a Location from a thread queue.  The API is
unsymmetric (array vs. queue) because enqueuing data needs to
happen atomically.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
lib/Automake/Location.pm