<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_bookmarks(self):
 """ Get the stored bookmarks from the server. Causes signals to be fired to reflect the changes. :returns: a list of bookmarks """

        with (yield from self._lock):
            bookmarks = yield from self._get_bookmarks()
            self._diff_emit_update(bookmarks)
            return bookmarks