Updated doc.
Bug fixed when dealing with realtime and non-realtime subjects with different priorities.