Add set_shared_value

Fix #32
please check if the comments are accurate or not. thanks!


How about a get_shared_value which alias to get_value(_, shared)?