From 79b28b23990934c8d5560d1fb616c742fc407df9 Mon Sep 17 00:00:00 2001 From: Javier Sancho Date: Thu, 25 Jun 2015 09:07:45 +0200 Subject: [PATCH] Adding README file --- README.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..8846f8c --- /dev/null +++ b/README.md @@ -0,0 +1,36 @@ +tinymsg +======= + +Tiny messages system for communicating threads each other. + +Usage +----- + +``` +scheme@(guile-user)> (use-modules (tinymsg)) +scheme@(guile-user)> (send-message 'msgbox "Hello World!!") +$1 = "Hello World!!" +scheme@(guile-user)> (receive-message 'msgbox) +$2 = "Hello World!!" +scheme@(guile-user)> (map + (lambda (n) + (send-message 'msgbox n)) + '(1 2 3 4 5)) +$3 = (1 2 3 4 5) +scheme@(guile-user)> (flush-messages 'msgbox) +msgbox got 1 +msgbox got 2 +msgbox got 3 +msgbox got 4 +msgbox got 5 +``` + +Requirements +------------ + +* GNU Guile >= 2.0.11 + +License +------- + +GNU GPLv3+ -- 2.39.5