Project

General

Profile

« Previous | Next » 

Revision fd4ccbdd

Added by Marc Dequènes over 13 years ago

  • ID fd4ccbddaa0989a06add8eac41dba03823d784b2

[evol] preliminary work for Conversation synchronization in DSL (action callbacks had to be moved from Protocol to ConversationThread to be able to check idle with the new locks, needed to process notifications without falling idle)

View differences:

bin/test_client
on_success do
pp "Hop!"
pp reply
send_notification 'meetpoint', { :topic => "MYNOTIF", :msg => "plop" }
end
end
end
......
on_success do
puts "Librarian GoGoGo!"
pp reply
wait_notification 'meetpoint', { :topic => "MYNOTIF" }
on_success do
puts "NOTIF!"
pp reply
end
end
end
end

Also available in: Unified diff