add a releasefn keyword to lock.lock
releasefn is a function that will be executed when the lock is released
port:4:exportport:4:vaportightport:4:import/exportFIXME: history is wrong hereport:1:1:-:eggs:importport:1:2:+:eggs:vaportightport:1:3:+:eggs:import/exportport:0:2:+:spam:exportport:0:1:+:spam:importport:4:import/export