sends a message to a queue (message is stored by decreasing 'value')
function sendEventHVF input Integer queue; input stdEvent e; input Real value; output Integer out; end sendEventHVF;